-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
56 lines (53 loc) · 1.46 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
import ast
import re
from setuptools import setup, find_packages
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('puckdb/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(
name='puckdb',
author='Aaron Toth',
version=version,
url='https://github.com/aaront/puckdb',
description='An async-first hockey data extractor and API',
long_description=open('README.rst').read(),
test_suite="tests",
include_package_data=True,
packages=find_packages(),
package_data={'': ['LICENSE']},
package_dir={'puckdb': 'puckdb'},
license='Apache 2.0',
install_requires=[
'aiodns',
'cchardet',
'aiohttp',
'aiodns',
'asyncpg',
'asyncpgsa',
'click',
'click-datetime',
'python-dateutil',
'pytz',
'pg8000',
'sqlalchemy',
'ujson',
'python-dotenv',
'dataclasses',
'alembic',
'pint'
],
entry_points='''
[console_scripts]
puckdb=puckdb.console:main
''',
classifiers=(
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries'
)
)