-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
64 lines (58 loc) · 2.16 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
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",
version="2.1.1",
description="An opinionated implementation of exclusively "
"using airflow DockerOperators for all Operators",
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",
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 :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: System :: Monitoring",
],
packages=find_packages("src"),
package_dir={"": "src"},
zip_safe=False,
python_requires=">=3,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*",
install_requires=parse_requirements("deps/requirements.in"),
extras_require={
"testing": parse_requirements("deps/testing-requirements.in"),
"docs": parse_requirements("deps/docs-requirements.in"),
"linting": parse_requirements("deps/linting-requirements.in"),
"dev": parse_requirements("deps/dev-requirements.in"),
},
entry_points={
"airflow.plugins": [
"airflow_docker = airflow_docker.plugin:AirflowDockerPlugin"
]
},
package_data={'airflow-docker': ['src/airflow_docker/views/templates/*.html']},
include_package_data=True,
)