-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
85 lines (75 loc) · 2.07 KB
/
setup.py
File metadata and controls
85 lines (75 loc) · 2.07 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
import io
import os.path
from codecs import open
from setuptools import find_packages, setup
pjoin = os.path.join
here = os.path.abspath(os.path.dirname(__file__))
name = "crowdsource"
def get_version(file, name="__version__"):
path = os.path.realpath(file)
version_ns = {}
with io.open(path, encoding="utf8") as f:
exec(f.read(), {}, version_ns)
return version_ns[name]
version = get_version(pjoin(here, name, "_version.py"))
with open(pjoin(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
requires = [
"cufflinks>=0.17.0",
"IPython>=7.4.0",
"jinja2>=2.10",
"numpy>=1.17.2",
"pandas>=0.25.0",
"perspective-python>=0.4.0rc6",
"psycopg2>=2.7.6.1",
"scikit-learn>=0.21.3",
"scipy>=1.2.1",
"sqlalchemy>=1.3.0",
"tornado-sqlalchemy-login>=0.1.0",
"tornado>=6.0.3",
"ujson>=1.35",
"validators>=0.12.4",
]
requires_dev = [
"black>=23",
"bump2version>=1.0.0",
"flake8>=3.7.8",
"flake8-black>=0.2.1",
"mock",
"pytest",
"pytest-cov>=2.6.1",
"Sphinx>=1.8.4",
"sphinx-markdown-builder>=0.5.2",
] + requires
setup(
name=name,
version=version,
description="Realtime Competitions",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/timkpaine/crowdsource",
author="Tim Paine",
license="Apache 2.0",
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
keywords="realtime competition streaming",
zip_safe=False,
packages=find_packages(exclude=[]),
include_package_data=True,
install_requires=requires,
extras_require={
"dev": requires_dev,
},
entry_points={
"console_scripts": [
"server=crowdsource.server:main",
"client=crowdsource.client:main",
],
},
)