forked from koromodako/mkctf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (28 loc) · 945 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
from pathlib import Path
from setuptools import setup, find_packages
HERE = Path(__file__).absolute().parent
CONF_DIR = Path.home().joinpath('.config')
def requirements():
with HERE.joinpath('requirements.txt').open() as reqs:
return list([req.strip() for req in reqs if req.strip()])
setup(
# main information
name='mkctf',
description="MaKe Capture The Flag",
author='Koromodako',
author_email='[email protected]',
url='https://github.com/koromodako/mkctf',
# package files
packages=find_packages(str(HERE)),
setup_requires=['setuptools_scm'],
use_scm_version={'write_to': 'mkctf/__version__.py'},
install_requires=requirements(),
# configuration files
entry_points={
'console_scripts': [
'mkctf-cli = mkctf.mkctf_cli:app',
'mkctf-server = mkctf.mkctf_server:app',
'mkctf-monitor = mkctf.mkctf_monitor:app',
]
},
)