-
Notifications
You must be signed in to change notification settings - Fork 49
/
setup.py
68 lines (61 loc) · 1.89 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
from setuptools import setup, find_packages
# parse version ---------------------------------------------------------------
import re
import ast
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('siuba/__init__.py', 'rb') as f:
VERSION = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
with open('README.md', encoding="utf-8") as f:
README = f.read()
# setup -----------------------------------------------------------------------
setup(
name='siuba',
packages=find_packages(),
version=VERSION,
description='A package for quick, scrappy analyses with pandas and SQL',
author='Michael Chow',
license='MIT',
author_email='[email protected]',
url='https://github.com/machow/siuba',
keywords=['package', ],
install_requires=[
"pandas>=0.24.0,<2.1.0",
"numpy>=1.12.0",
"SQLAlchemy>=1.2.19",
"PyYAML>=3.0.0"
],
extras_require={
"test": [
"pytest",
"hypothesis",
"IPython",
"pymysql",
"psycopg2-binary",
"duckdb_engine",
# duckdb 0.8.0 has a bug which always errors for pandas v2+
# it's been fixed, but we need to pin until duckdb v0.9.0
"duckdb",
],
"docs": [
"plotnine",
"jupyter",
"nbval",
"sphinx",
"nbsphinx",
"jupytext",
"gapminder==0.1",
],
},
python_requires=">=3.7",
include_package_data=True,
long_description=README,
long_description_content_type="text/markdown",
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
)