-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
61 lines (56 loc) · 2.09 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
from setuptools import find_packages, setup
def parse_requirements(filename):
with open(filename) as f:
lineiter = (line.strip() for line in f)
return [
line.replace(' \\', '').strip()
for line in lineiter
if (
line and
not line.startswith("#") and
not line.startswith("-e") and
not line.startswith("--")
)
]
with open('README.md', 'rb') as f:
LONG_DESCRIPTION = f.read().decode('utf-8')
setup(
name='airflow-docker-helper',
version='0.2.0',
description='A light sdk to be used by the operators in airflow-docker and in task code to participate in host/container communication.',
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
author='Hunter Senft-Grupp',
author_email='huntcsg@gmail.com',
url='https://github.com/huntcsg/airflow-docker-helper',
license='Apache License 2.0',
keywords='airflow docker',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: System :: Monitoring',
],
packages=find_packages('src'),
package_dir={'': 'src'},
zip_safe=False,
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
extras_require={
'testing': parse_requirements('deps/testing-requirements.in'),
'docs': parse_requirements('deps/docs-requirements.in'),
'linting': parse_requirements('deps/linting-requirements.in'),
},
entry_points={
'console_scripts': [
'airflow-docker-helper=airflow_docker_helper.__main__:main',
]
}
)