-
Notifications
You must be signed in to change notification settings - Fork 32
/
setup.py
55 lines (53 loc) · 1.79 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
from setuptools import setup
import os.path
def read_file(filename):
"""Read a file into a string"""
path = os.path.abspath(os.path.dirname(__file__))
filepath = os.path.join(path, filename)
try:
with open(filepath, 'r') as fh:
return fh.read()
except IOError:
return ''
setup(
name='pfFocus',
version='0.1',
description='Generate meaningful output from your pfSense configuration backup',
long_description=read_file('README.md'),
long_description_content_type='text/markdown',
author='thyssenkrupp CERT',
author_email='[email protected]',
license='GPL-V3',
url='https://github.com/TKCERT/pfFocus',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: System Administrators',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: System :: Systems Administration',
'Topic :: Text Editors :: Documentation',
'Topic :: Text Processing'],
py_modules=[
'pf_focus.util',
'pf_focus.pfsense',
'pf_focus.progress',
'pf_focus.parse',
'pf_focus.format',
'pf_focus.bbcode',
'pf_focus.markdown',
],
entry_points = {
'console_scripts': [
'pf-parse=pf_focus.parse:main',
'pf-format=pf_focus.format:main',
'pfFocus-parse=pf_focus.parse:main',
'pfFocus-format=pf_focus.format:main',
]
},
install_requires=read_file('requirements.txt').splitlines(),
include_package_data=True,
)