forked from kyocum/disdat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
137 lines (121 loc) · 4.38 KB
/
Copy pathsetup.py
File metadata and controls
137 lines (121 loc) · 4.38 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
#
# Copyright 2015, 2016 Human Longevity, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from setuptools import setup, find_packages
setup(
use_scm_version={
'write_to': 'disdat/version.py',
'write_to_template': '__version__ = "{version}"'
},
setup_requires=['setuptools_scm'],
name='disdat',
description='DisDat: versioned data science',
author='Ken Yocum',
author_email='kyocum@gmail.com',
url='https://github.com/kyocum/disdat',
# Choose your license
license='Apache License, version 2.0',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: Apache Software License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Operating System :: OS Independent',
'Natural Language :: English',
],
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['tests*',
'infrastructure.tests*']),
# Include non-python files found in each package in the install, if in your MANIFEST.in
include_package_data=True,
# If any package contains other resource files, include them here.
# We copy config/disdat so 'dsdt init' still runs from an installed
# .egg. This package_data only works if you're not using "sdist"
# Otherwise only MANIFEST.in actually works, and then only if include_package_data=True
package_data={
'': ['*.json'],
'disdat': [
'config/disdat/*',
'VERSION',
],
'infrastructure': [
'Dockerfiles/hyperframe_def/*'
'dockerizer/Makefile',
'dockerizer/Dockerfiles/*',
'dockerizer/kickstart/bin/*',
'dockerizer/kickstart/etc/*',
],
},
exclude_package_data={
'disdat': [
'dockerizer/kickstart/bin/*.pyc',
]
},
data_files=[('', ['setup.py'])],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. If >=, means it worked with the base version.
# If <= means higher versions broke something.
install_requires=[
'luigi>=2.8.11,<3.0',
'boto3>=1.14.49,<2.0',
'termcolor>=1.1.0,<2.0',
'docker>=4.1.0,<4.4.0',
'pandas>=0.25.3,<=1.2.0',
'numpy>=1.18.1,<=1.21.1',
'sqlalchemy>=1.3.13,<1.4',
'protobuf>=3.11.2,<4.0',
'six>=1.13.0,<=1.15',
'docutils<0.16,>=0.10'
],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e '.[dev, rel]'
extras_require={
'dev': [
'pytest',
'ipython',
'mock',
'pylint',
'coverage',
'tox',
'moto',
's3fs<=0.4.2' # 0.5.0 breaks with aiobotocore and missing AWS headers
],
'rel': [
'wheel',
]
},
entry_points={
'console_scripts': [
'dsdt = disdat.entrypoints.cli_ep:main',
'dsdt_docker = disdat.entrypoints.docker_ep:main'
],
'distutils.commands': [
"dsdt_distname = disdat.infrastructure.dockerizer.setup_tools_commands:DistributionName",
]
},
)