forked from radicallyopensecurity/pentext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (37 loc) · 1.09 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
# Copyright 2017 RadicallyOpenSecurity B.V.
import os
from setuptools import setup, find_packages
version_file = os.path.abspath(os.path.join(os.path.dirname(__file__),
'VERSION'))
with open(version_file) as v:
VERSION = v.read().strip()
SETUP = {
'name': "chatops",
'version': VERSION,
'author': "RadicallyOpenSecurity",
'url': "https://github.com/radicallyopensecurity/pentext",
'install_requires': [
'lxml',
'titlecase',
'pyenchant',
'pypandoc',
'python-gitlab',
],
'packages': find_packages(),
'scripts': [
'chatops/python/docbuilder.py',
'chatops/python/gitlab-to-pentext.py',
'chatops/python/pentext_id.py',
'chatops/python/validate_report.py',
],
'license': "GPLv3",
'long_description': open('README.md').read(),
'description': 'PenText system ',
}
# try:
# from sphinx_pypi_upload import UploadDoc
# SETUP['cmdclass'] = {'upload_sphinx': UploadDoc}
# except ImportError:
# pass
if __name__ == '__main__':
setup(**SETUP)