-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
54 lines (45 loc) · 1.38 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
import builtins
import os
from distutils.core import setup
import setuptools
def package_files(directory):
paths = []
for path, directories, filenames in os.walk(directory):
for filename in filenames:
paths.append(os.path.join("..", path, filename))
return paths
def setup_package():
builtins.__INGESTIFY_SETUP__ = True
import ingestify
with open("README.md", "r") as f:
readme = f.read()
setup(
name="ingestify",
version=ingestify.__version__,
author="Koen Vossen",
author_email="[email protected]",
license="AGPL",
description="Standardizing soccer tracking- and event data",
long_description=readme,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(exclude=["tests"]),
package_data={
"": package_files("ingestify/static"),
},
entry_points={"console_scripts": ["ingestify = ingestify.cmdline:main"]},
install_requires=[
"requests>=2.0.0,<3",
"SQLAlchemy",
"dataclass_factory",
"cloudpickle",
"click",
"jinja2",
"python-dotenv",
"pyaml_env",
"boto3",
"pytz",
],
extras_require={"test": ["pytest>=6.2.5,<7"]},
)
if __name__ == "__main__":
setup_package()