forked from aodn/python-aodncore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
74 lines (67 loc) · 1.95 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
71
72
73
74
from setuptools import setup, find_packages
ENTRY_POINTS = {
'pipeline.module_versions': [
'compliance-checker = compliance_checker:__version__'
]
}
INSTALL_REQUIRES = [
'boto3>=1.9.156',
'celery>=4.3.0',
'compliance-checker==4.1.1',
'jsonschema>=2.6.0',
'paramiko>=2.6.0',
'python-magic>=0.4.15',
'tableschema>=1.19.4',
'transitions>=0.7.1',
'psycopg2-binary==2.8.6',
'PyYAML==5.3.1'
]
TESTS_REQUIRE = [
'pytest',
'setuptools_scm',
'testcontainers[postgresql]'
]
EXTRAS_REQUIRE = {
'testing': TESTS_REQUIRE,
':platform_system == "Linux"': ['pyinotify == 0.9.6']
}
PACKAGE_DATA = {
'aodncore': [
'pipeline/templates/*.j2',
'testlib/conf/*.conf',
'testlib/vocab/*.rdf'
]
}
PACKAGE_EXCLUDES = ['test_aodncore.*', 'test_aodncore']
PACKAGE_NAME = 'aodncore'
PACKAGE_SCRIPTS = ['aodncore/bin/drawmachine.py', 'aodncore/pipeline/watchservice.py']
setup(
name=PACKAGE_NAME,
version='0.0.0',
scripts=PACKAGE_SCRIPTS,
packages=find_packages(exclude=PACKAGE_EXCLUDES),
package_data=PACKAGE_DATA,
url='https://github.com/aodn',
license='GPLv3',
author='AODN',
author_email='[email protected]',
description='AODN pipeline library',
zip_safe=False,
python_requires='>=3.5',
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
tests_require=TESTS_REQUIRE,
test_suite='test_aodncore',
entry_points=ENTRY_POINTS,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
],
)