forked from flyteorg/flytekit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
63 lines (59 loc) · 1.85 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
from __future__ import absolute_import
import os
os.environ["FLYTEKIT_SETUP"] = 'True'
from setuptools import setup, find_packages # noqa
import flytekit # noqa
from flytekit.tools.lazy_loader import LazyLoadPlugin # noqa
extras_require = LazyLoadPlugin.get_extras_require()
extras_require[':python_version<"3"'] = [
"futures>=3.2.0,<4.0.0",
"pathlib2>=2.3.2,<3.0.0"
]
setup(
name='flytekit',
version=flytekit.__version__,
maintainer='Lyft',
maintainer_email='flyte-eng@lyft.com',
packages=find_packages(exclude=["tests*"]),
url='https://github.com/lyft/flytekit',
description='Flyte SDK for Python',
long_description=open('README.md').read(),
entry_points={
'console_scripts': [
'pyflyte-execute=flytekit.bin.entrypoint:execute_task_cmd',
'pyflyte=flytekit.clis.sdk_in_container.pyflyte:main',
'flyte-cli=flytekit.clis.flyte_cli.main:_flyte_cli'
]
},
setup_requires=[
"pip>10.0.0,<19.2.0"
],
install_requires=[
"sloth-import>=0.2.3,<1.0.0",
"flyteidl>=0.11.6,<1.0.0",
"click>=6.6,<7.0",
"configparser>=3.0.0,<4.0.0",
"croniter>=0.3.20,<4.0.0",
"deprecation>=2.0,<3.0",
"boto3>=1.4.4,<2.0",
"grpcio>=1.3.0,<2.0",
"protobuf>=3.6.1,<3.7.0",
"pytimeparse>=1.1.8,<2.0.0",
"pytz>=2017.2,<2018.5",
"requests>=2.18.4,<3.0.0",
"six>=1.9.0,<2.0.0",
"sortedcontainers>=1.5.9,<2.0.0",
"statsd>=3.0.0,<4.0.0",
"urllib3>=1.22,<1.25",
"wrapt>=1.0.0,<2.0.0",
],
extras_require=extras_require,
scripts=[
'scripts/flytekit_install_spark.sh',
'scripts/flytekit_spark_entrypoint.sh',
'scripts/flytekit_build_image.sh',
'scripts/flytekit_venv'
],
license="apache2",
python_requires=">=2.7"
)