-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (42 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
45
import setuptools
PKG_NAME = "ccg"
with open("ccg/version", "r") as file:
PKG_VERSION = file.readline()
PKG_AUTHOR = "0xNinja"
PKG_AUTHOR_EMAIL = "[email protected]"
PKG_DESC = "CCG - CTF Challenge Generator"
PKG_DESC_CON_TYPE = "text/markdown"
PKG_URL = "https://0xninja.fr"
PKG_CLASSIFIERS = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
PKG_PYTHON_REQ = ">=3.10"
PKG_ENTRY = """
[console_scripts]
ccg=ccg.cli:cli
"""
PKG_DEP = [
"Click",
"yaspin",
"python-slugify",
"pyyaml",
]
with open("README.md", "r") as fh:
PKG_LONG_DESC = fh.read()
setuptools.setup(
name=PKG_NAME,
version=PKG_VERSION,
author=PKG_AUTHOR,
author_email=PKG_AUTHOR_EMAIL,
description=PKG_DESC,
long_description=PKG_LONG_DESC,
long_description_content_type=PKG_DESC_CON_TYPE,
url=PKG_URL,
install_requires=PKG_DEP,
packages=setuptools.find_packages(),
classifiers=PKG_CLASSIFIERS,
python_requires=PKG_PYTHON_REQ,
entry_points=PKG_ENTRY
)