-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
44 lines (34 loc) Β· 1.06 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
from __future__ import annotations
from setuptools import find_packages
from setuptools import setup
import cptk
with open("README.md", encoding="utf8") as f:
README = f.read()
with open("CHANGELOG.md", encoding="utf8") as f:
CHANGELOG = f.read()
with open("requirements.txt", encoding="utf8") as f:
DEPENDENCIES = f.read().splitlines()
setup(
name="cptk",
version=cptk.__version__,
description=cptk.__description__,
url='https://github.com/RealA10N/cptk',
python_requires=">=3.7,<4",
install_requires=DEPENDENCIES,
long_description=README + '\n\n' + CHANGELOG,
long_description_content_type="text/markdown",
author=cptk.__author__,
author_email=cptk.__author_email__,
packages=find_packages(include=['cptk*']),
include_package_data=True,
entry_points={
"cptk_sites": [
"codeforces=cptk.websites:Codeforces",
"csesfi=cptk.websites:Cses",
"kattis=cptk.websites:Kattis",
],
"console_scripts": [
"cptk=cptk.main:main",
],
},
)