-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (41 loc) · 1.45 KB
/
setup.py
File metadata and controls
51 lines (41 loc) · 1.45 KB
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
import re
from codecs import open
from os import path
from setuptools import find_packages, setup
PACKAGE_NAME = "testcase_maker"
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, PACKAGE_NAME, "constants.py"), encoding="utf-8") as fp:
VERSION = re.search('__version__ = "([^"]+)"', fp.read()).group(1)
with open(path.join(HERE, "README.md"), "r", encoding="UTF-8") as f:
README = f.read().replace("\r\n", "\n") # Stupid newline issue when displaying on pypi website.
EXTRAS = {
"lint": ["black", "flake8", "isort"],
"dev": ["lint"]
}
setup(
name="testcase-maker",
version=VERSION,
author="benwoo1110",
author_email="wben1110@gmail.com",
description="Competitive programming testcases made easy!",
extras_require=EXTRAS,
install_requires=[
"attrs~=21.2.0"
],
license="MIT License",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/benwoo1110/testcase-maker",
packages=find_packages(),
python_requires=">=3.8",
classifiers=[
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
],
)