-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
34 lines (30 loc) · 997 Bytes
/
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
"""
Install script for CodeforcesApiPy module
"""
import re
from setuptools import setup
with open("codeforces_api/version.py", "r", encoding="utf-8") as f:
version = re.search(
r"^__version__\s*=\s*\"(.*)\".*$", f.read(), flags=re.MULTILINE
).group(1)
setup(
name="CodeforcesApiPy",
version=version,
description="Implementation of codeforces.com API",
platforms="any",
url="https://github.com/VadVergasov/CodeforcesApiPy",
long_description_content_type="text/markdown",
long_description=open("README.md").read(),
author="VadVergasov",
author_email="[email protected]",
license="GPLv3",
packages=["codeforces_api"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
keywords="codeforces api python",
install_requires=["requests", "lxml"],
python_requires=">=3.8",
)