-
Notifications
You must be signed in to change notification settings - Fork 124
/
setup.py
32 lines (28 loc) · 998 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
import setuptools
VERSION = "test"
with open("OpenAttack/version.py", "r") as fver:
VERSION = fver.read().replace("VERSION", "").replace("=", "").replace("\"", "").strip()
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
requirements = []
with open("requirements.txt") as freq:
for line in freq.readlines():
requirements.append( line.strip() )
setuptools.setup(
name="OpenAttack", # Replace with your own username
version=VERSION,
author="THUNLP",
author_email="[email protected]",
description="OpenAttack",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/thunlp/OpenAttack",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
install_requires=requirements
)