-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
74 lines (69 loc) · 2 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
# Copyright 2022 CVS Health and/or one of its affiliates
#
# 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.
# TODO: Add to PyPI
# TODO: Add pre-commit hooks with linting and formatting
# Imports
from setuptools import setup, find_packages
# Set constants
NAME = "coldstart"
# TODO: add automatic version bumping
VERSION = "0.1.0"
DESCRIPTION = "A package for automatic data curation and feature engineering"
with open("README.md") as f:
LONG_DESCRIPTION, LONG_DESC_TYPE = f.read(), "text/markdown"
URL = "https://github.com/cvs-health/coldstart"
LICENSE = "Apache 2.0"
AUTHOR, AUTHOR_EMAIL = "Ferrante, Piero", "FerranteP@aetna.com"
PYTHON_REQ = ">=3.7"
PACKAGES = find_packages(exclude=["*.tests", "*.tests.*"])
REQUIREMENTS = [
"numpy>=1.19.5",
"pandas>=1.3.5",
"pyarrow>=6.0.1",
"joblib>=1.1.0",
"tqdm>=4.64.0",
"sqlalchemy>=1.4.27",
"tenacity",
"sqlalchemy-bigquery",
# "dask>=2.11.0",
]
# Run setup
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESC_TYPE,
url=URL,
license=LICENSE,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
python_requires=PYTHON_REQ,
packages=PACKAGES,
install_requires=REQUIREMENTS,
include_package_data=True,
setup_requires=["pytest-runner"],
tests_require=["pytest"],
test_suite="tests"
)
# Print snowman
snowman = """
__
_|==|_
('')___/
>--(`^^')--<
(`^'^'`)
`======' **DS winter is coming!**
"""
print(snowman)