forked from Datatamer/tamr-toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (45 loc) · 1.63 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
"""Defines the package tamr_toolbox for user installations"""
from setuptools import setup, find_packages
with open("requirements.txt") as f:
required = f.read().splitlines()
with open("version.txt") as f:
full_version = f.read().splitlines()[0]
version_number = full_version.split("-")[0]
with open("README.md", encoding="utf-8") as f:
readme = f.read()
setup(
name="tamr_toolbox",
version=version_number,
author="Tamr Inc.",
author_email="",
description="Tools for Tamr",
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/Datatamer/tamr-toolbox",
packages=find_packages(exclude=["tests", "tests.*"]),
python_requires=">=3.6",
install_requires=required,
extras_require={
# Super set including all optional dependencies
"all": [
"pandas>=0.21.0",
"aiohttp==3.7.4.post0",
"slackclient==2.7.2",
"responses==0.10.14",
"paramiko>=2.8.0",
"google-cloud-translate==3.7.4",
"google-cloud-storage>=2.0.0",
"boto3>=1.21.21",
"boto3-stubs-lite[essential]>=1.21.21",
],
# Individual sets of dependencies
"address-validation": ["googlemaps==4.10.0"],
"pandas": ["pandas>=0.21.0"],
"slack": ["aiohttp==3.7.4.post0", "slackclient==2.7.2"],
"testing": ["responses==0.10.14"],
"translation": ["google-cloud-translate==3.7.4"],
"ssh": ["paramiko>=2.8.0"],
"gcs": ["google-cloud-storage>=2.0.0"],
"s3": ["boto3>=1.21.21", "boto3-stubs-lite[essential]>=1.21.21"],
},
)