-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathsetup.py
44 lines (37 loc) · 1.21 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
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') 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",
"numpy>=1.12.0",
"SQLAlchemy>=1.2.19",
"PyYAML>=3.0.0"
],
python_requires=">=3.6",
include_package_data=True,
long_description=README,
long_description_content_type="text/markdown",
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)