-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
37 lines (29 loc) · 917 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
35
36
37
#!/usr/bin/env python3
from setuptools import setup, find_packages
from os import path
def readme():
with open('README.md') as f:
return f.read()
def requirements():
root = path.dirname(path.realpath(__file__))
requirementPath = root + '/requires.txt'
if path.isfile(requirementPath):
with open(requirementPath) as f:
return f.read().splitlines()
if __name__ == '__main__':
setup(
name='callstranger_honeypot',
long_description=readme(),
classifiers=[
'Programming Language :: Python :: 3'
],
packages=find_packages(),
install_requires=requirements(),
entry_points={
'console_scripts': [
'hon_upnp = honeypot.hon_upnp:main',
'hon_ssdp = honeypot.hon_ssdp:main',
'upnp_sniff = honeypot.upnp_sniff:main'
],
}
)