-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·70 lines (63 loc) · 2.21 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
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/env python3
from setuptools import setup, find_packages
from setuptools.command.install import install as _install
def read(filename):
try:
with open(filename) as f:
return f.read()
except NameError:
with open(filename, 'r') as f:
return f.read()
long_description = u'\n\n'.join([read('README.rst'),
read('CREDITS.rst'),
read('CHANGES.rst')])
class Install(_install):
def run(self):
_install.run(self)
print("Post Install")
version = '0.3.1.dev0'
setup(
name='saruman',
version=version,
packages=find_packages(),
url='https://github.com/tychota/saruman',
license='MIT',
author='tychota',
author_email='[email protected]',
description='A firewall that leverage AMQP workqueue ! Build by iresam for iresam !',
long_description=long_description,
install_requires=[
'celery==3.1.19',
'plumbum==1.6.1.post0',
'click==6.2',
'colorlog==2.6.0',
'zest.releaser==6.4',
'coverage==4.0.3',
'pyyaml==3.11',
'pygments',
'sphinx_bootstrap_theme'
],
test_suite="tests",
entry_points='''
[console_scripts]
saruman=saruman.__main__:cli
''',
cmdclass={'install': Install},
zip_safe=False,
keywords=['firewall', 'amqp', 'nftables', 'dhcp, reverse-proxy'],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: System Administrators',
'Natural Language :: English',
'Natural Language :: French',
'Operating System :: POSIX :: Linux',
'Topic :: Internet :: Name Service (DNS)',
'Topic :: Internet :: Proxy Servers',
'Topic :: System :: Networking',
'Topic :: System :: Networking :: Firewalls',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)