Skip to content

Commit ed6954e

Browse files
committed
Add setup.py #11
1 parent eb2156f commit ed6954e

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

setup.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
)

0 commit comments

Comments
 (0)