-
Notifications
You must be signed in to change notification settings - Fork 61
/
setup.py
69 lines (61 loc) · 2.03 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
68
69
import builtins
from distutils.core import setup
import setuptools
builtins.__KLOPPY_SETUP__ = True
import kloppy
def setup_package():
with open("README.md", "r") as f:
readme = f.read()
setup(
name="kloppy",
version=kloppy.__version__,
author="Koen Vossen",
author_email="[email protected]",
url="https://kloppy.pysport.org/",
packages=setuptools.find_packages(exclude=["tests"]),
license="BSD",
description="Standardizing soccer tracking- and event data",
long_description=readme,
long_description_content_type="text/markdown",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved",
"Topic :: Scientific/Engineering",
],
entry_points={
"console_scripts": ["kloppy-query = kloppy.cmdline:run_query"]
},
install_requires=[
"lxml>=4.4.0,<5",
"requests>=2.0.0,<3",
"pytz>=2020.1",
'typing_extensions;python_version<"3.11"',
"python-dateutil>=2.8.1,<3",
"sortedcontainers>=2",
],
extras_require={
"test": [
"pytest>=6.2.5,<7",
"pandas>=2",
"black==22.3.0",
"polars>=0.16.6",
"pyarrow",
"pytest-lazy-fixture",
"s3fs",
"moto[s3]",
"pytest-httpserver",
],
"development": ["pre-commit==2.6.0"],
"query": ["networkx>=2.4,<3"],
},
)
if __name__ == "__main__":
setup_package()
del builtins.__KLOPPY_SETUP__