-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
executable file
·60 lines (56 loc) · 1.58 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
from setuptools import setup
import os
from netscan import __version__ as VERSION
from build_utils import BuildCommand
from build_utils import PublishCommand
from build_utils import BinaryDistribution
PACKAGE_NAME = 'netscan'
BuildCommand.pkg = PACKAGE_NAME
PublishCommand.pkg = PACKAGE_NAME
PublishCommand.version = VERSION
setup(
name='netscan',
version=VERSION,
description='A simple Python active and passive network scanner for linux and OSX',
long_description=open('README.rst').read(),
keywords='network scanner active passive dpkt html',
url='https://github.com/walchko/netscan2',
author='Kevin Walchko',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Operating System :: Unix',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Topic :: Utilities',
'Topic :: System :: Shells',
'Environment :: Console'
],
cmdclass={
'publish': PublishCommand,
'make': BuildCommand
},
packages=['netscan'],
install_requires=['requests', 'pcapy', 'dpkt', 'netaddr'],
# scripts=[
# 'bin/ascan.py',
# 'bin/pscan.py',
# 'bin/gethostname.py',
# 'bin/getvendor.py',
# 'bin/ipwhois.py'
# ]
# entry_points={
# 'console_scripts': [
# 'netscan=netscan.netscan:main',
# 'capture=netscan.capture:main',
# 'pscan=netscan.pscan:main',
# 'ascan=netscan.ascan:main',
# 'getvendor=netsan.getvendor:main',
# 'gethostname=netscan.gethostname:main',
# 'ipwhois=netscan.ipwhois:main'
# ],
# },
)