-
Notifications
You must be signed in to change notification settings - Fork 44
/
setup.py
39 lines (35 loc) · 1.03 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
import setuptools
import os
with open("README.md", "r") as f:
long_description = f.read()
with open("VERSION", "r") as f:
version = f.read().strip()
with open("requirements.txt", "r") as f:
requirements = [
line.strip() for line in f.readlines()
]
setuptools.setup(
name="fenjing",
version=version,
author="Marven11",
author_email="[email protected]",
description="A Jinja SSTI cracker for CTF competitions",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Marven11/Fenjing",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Operating System :: OS Independent",
],
install_requires=requirements,
package_data={
"fenjing": ["templates/*", "static/*"],
},
entry_points={
'console_scripts': [
'fenjing=fenjing.__main__:main',
]
}
)