File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ import shutil
2+ from setuptools import setup
3+
4+ with open ('README.md' , 'r' , encoding = 'utf-8' ) as f :
5+ long_description = f .read ()
6+
7+ with open ('requirements.txt' , 'r' , encoding = 'utf-8' ) as f :
8+ content = f .readlines ()
9+ requirements = [x .strip () for x in content ]
10+
11+ shutil .copyfile ('enum4linux-ng.py' , 'enum4linux-ng' )
12+
13+ setup (
14+ name = 'enum4linux-ng' ,
15+ version = '1.0.0' ,
16+ author = 'mw' ,
17+ description = 'A next generation version of enum4linux' ,
18+ long_description = long_description ,
19+ long_description_content_type = 'text/markdown' ,
20+ url = 'https://github.com/cddmp/enum4linux-ng' ,
21+ classifiers = [
22+ 'Environment :: Console'
23+ 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)' ,
24+ 'Operating System :: POSIX :: Linux' ,
25+ 'Programming Language :: Python :: 3' ,
26+ 'Topic :: Security' ,
27+ ],
28+ python_requires = '>=3.6' ,
29+ install_requires = requirements ,
30+ scripts = ['enum4linux-ng' ]
31+ )
You can’t perform that action at this time.
0 commit comments