-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (38 loc) · 1.17 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
from setuptools import setup
import os
from codecs import open
_here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(_here, "README.rst")) as f:
long_description = f.read()
packages = ["KonoPyUtil", "KonoPyUtil/soccer", "KonoPyUtil/other"]
install_requires = [
"pandas==2.2.2",
"SQLAlchemy==2.0.32",
"environs==11.0.0",
"psycopg2-binary==2.9.9",
"ipinfo==5.0.1",
"requests==2.32.3",
]
about = {}
with open(os.path.join(_here, "KonoPyUtil", "__version__.py"), "r", "utf-8") as f:
exec(f.read(), about)
setup(
name=about["__title__"],
version=about["__version__"],
description=about["__description__"],
long_description=long_description,
long_description_content_type="text/x-rst",
author=about["__author__"],
author_email=about["__author_email__"],
url=about["__url__"],
packages=packages,
package_dir={"KonoPyUtil": "KonoPyUtil"},
package_data={"KonoPyUtil": ["data/*"]},
include_package_data=True,
python_requires=">=3.10",
install_requires=install_requires,
license=about["__license__"],
project_urls={
"Source": "https://github.com/konoanalytics/KonoPyUtil",
},
)