-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
60 lines (55 loc) · 1.71 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2019 SeatGeek
import setuptools
with open("README.rst", "r") as fh:
long_description = fh.read()
package_vars = {}
with open("druzhba/_version.py", "r") as f:
exec(f.read(), package_vars)
tests_require = [
"pytest>=7.1.2",
"mock>=2.0.0",
"pylint==2.5.3",
]
setuptools.setup(
name="druzhba",
version=package_vars['__version__'],
author="Seatgeek and Contributors",
author_email="[email protected]",
description="A friendly data pipeline framework",
license="MIT License",
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/seatgeek/druzhba",
packages=setuptools.find_packages(exclude=['test']),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
],
python_requires=">=3.6",
setup_requires=[
"cython>=0.29.7" # TODO: find a way to not pre-install this (needed for mssql)
],
# TODO: move specific DBs into extras
install_requires=[
"boto3>=1.10.34",
"botocore>=1.13.35",
"fastavro>=1.6.0,<1.7.0",
"Jinja2>=2.10",
"psycopg2-binary>=2.7.3.2",
"pyaml>=17.10.0",
"pymssql<3.0", # TODO: replace with PyODBC
"pymysql>=0.7.11,<0.10",
"sentry-sdk>=0.11.0,<0.14",
"statsd>=3.3.0",
],
extras_require={
"dev": ["autoflake", "black", "isort", "sphinx", "recommonmark", "twine"],
"test": tests_require
},
entry_points={"console_scripts": ["druzhba=druzhba.main:main"]},
scripts=[],
tests_require=tests_require
)