-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
70 lines (62 loc) · 2.56 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# -*- coding: utf-8 -*-
# datespan - Copyright (c)2024, Thomas Zeutschler, MIT license
from setuptools import setup
from setuptools import find_packages
from datespan import VERSION
# ...to run the build and deploy process to pypi.org manually:
# 1. delete folder 'build'
# 1. empty folder 'dist'
# 2. python3 setup.py sdist bdist_wheel # note: Wheel need to be installed: pip install wheel
# 3. twine upload -r pypi dist/* # note: Twine need to be installed: pip install twine
# ... via GitHub actions see
# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
DESCRIPTION = "datespan - effortless date span parsing and management"
LONG_DESCRIPTION = """
A Python package for effortless date span parsing and management.
Aimed for data analysis and processing, useful in any context requiring date & time spans.
"""
setup(
name="dataspan",
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
classifiers=[
"Topic :: Utilities",
"Topic :: Database",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Environment :: Console",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
],
author="Thomas Zeutschler",
keywords=['python', 'datetime', 'timespan', 'pandas', 'numpy', 'spark', 'data analysis', 'sql', 'dataframe', 'data'],
author_email="cubedpandas@gmail.com",
url="https://github.com/Zeutschler/datespan",
license='MIT',
platforms=['any'],
zip_safe=True,
python_requires='>= 3.9',
install_requires=[
'python-dateutil',
],
test_suite="datespan.tests",
packages=['datespan', 'datespan.parser', 'tests'],
project_urls={
'Homepage': 'https://github.com/Zeutschler/datespan',
'Documentation': 'https://github.com/Zeutschler/datespan',
'GitHub': 'https://github.com/Zeutschler/datespan',
},
)