forked from Marven11/Fenjing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (30 loc) · 944 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
34
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.9",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Operating System :: OS Independent",
],
install_requires=requirements,
package_data={
"fenjing": ["templates/*", "static/*"],
},
)