-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
64 lines (59 loc) · 2.26 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
import os
import pathlib
import setuptools
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
# The current version
VERSION = (HERE / "earthmover/VERSION.txt").read_text()
# automatically captured required modules for install_requires in requirements.txt
with open(os.path.join(HERE, 'requirements.txt'), encoding='utf-8') as fp:
all_reqs = fp.readlines()
setuptools.setup (
name = 'earthmover',
description = 'Transforms tabular data sources into text-based data via YAML configuration',
version = VERSION,
packages = setuptools.find_namespace_packages(include=['earthmover', 'earthmover.*']),
include_package_data=True,
install_requires = all_reqs,
extras_require = {
'excel': ['openpyxl'],
'graph': ['matplotlib', 'pygraphviz'],
'sql': ['sqlalchemy'],
'parquet': ['pyarrow'],
'postgres': ['sqlalchemy', 'psycopg2'],
'xml': ['pyarrow', 'lxml'],
},
python_requires = '>=3',
entry_points = '''
[console_scripts]
earthmover=earthmover.__main__:main
''',
author = "Tom Reitz, Jay Kaiser",
keyword = "data, transformation",
long_description = README,
long_description_content_type = "text/markdown",
license = 'Apache 2.0',
url = 'https://github.com/edanalytics/earthmover',
download_url = 'https://github.com/edanalytics/earthmover/archive/refs/tags/v0.0.4.tar.gz',
dependency_links = all_reqs,
author_email = '[email protected], [email protected]',
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business",
"Topic :: Scientific/Engineering",
"Topic :: Utilities"
]
)