-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
92 lines (77 loc) · 2.46 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import os
from setuptools import find_packages, setup
from src.intelliflow import __version__ as version
cmdclass_value = {}
options_value = {}
#CLI_SCRIPTS = [
# 'my_app= intelliflow.tools:foo_main',
#]
# use 'requirements.txt' as baseline here + virtualenv for bundling
REQUIRED_PACKAGES = [
'boto3 >= 1.26.57',
'python-dateutil >= 2.8.2',
'dill >= 0.3.4',
'packaging >= 21.0',
'requests >= 2.25.1',
'responses >= 0.10.6',
'shortuuid >= 1.0.11',
'overrides >= 7.4.0',
'validators >= 0.20.0',
'virtualenv'
]
TEST_PACKAGES = [
'moto',
'pytest',
'mock'
]
data_files = []
# Declare your non-python data files:
# Files underneath configuration/ will be copied into the build preserving the
# subdirectory structure if they exist.
dirs_to_copy = [
"configuration",
"src"
]
for dir_path in dirs_to_copy:
for root, dirs, files in os.walk(dir_path):
data_files.append(
(os.path.relpath(root, dir_path), [os.path.join(root, f) for f in files])
)
setup(
name="rheoceros",
python_requires=">=3.7",
version=version,
description="rheoceros is a cloud-based data science / AI / ML workflow development framework.",
keywords="aws cloud data model ai workflow ai-team ml mesh collaboration event flow automation functional low-code"
"machine learning feature engineering emr glue athena sagemaker serverless",
author="Amazon.com Inc.",
author_email="[email protected]",
license="Apache 2.0",
download_url='https://github.com/amzn/rheoceros/releases',
packages=find_packages(where="src", exclude=("test", "test_integration")),
package_dir={"": "src"},
#entry_points={
# 'cli_scripts': CLI_SCRIPTS,
#},
install_requires=REQUIRED_PACKAGES,
tests_require=TEST_PACKAGES,
test_suite='test',
# include data files
data_files=data_files,
include_package_data=True,
root_script_source_version="default-only",
test_command="pytest",
# Use custom sphinx command which adds an index.html that's compatible with
# code.amazon.com links.
doc_command="amazon_doc_utils_build_sphinx",
options=options_value,
cmdclass=cmdclass_value,
# Enable build-time format checking
check_format=True,
# Enable type checking
test_mypy=False,
# Enable linting at build time
test_flake8=False,
)