forked from eclecticiq/OpenTAXII
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (58 loc) · 2.44 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
import os
from setuptools import find_packages, setup
__version__ = None
exec(open('opentaxii/_version.py').read())
def here(*path):
return os.path.join(os.path.dirname(__file__), *path)
def get_file_contents(filename):
with open(here(filename), encoding='utf8') as fp:
return fp.read()
# This is a quick and dirty way to include everything from
# requirements.txt as package dependencies.
install_requires = get_file_contents('requirements.txt').split()
setup(
name='opentaxii',
description='TAXII server implementation in Python from EclecticIQ',
long_description=get_file_contents('README.md'),
long_description_content_type='text/markdown',
url='https://github.com/EclecticIQ/OpenTAXII',
author='EclecticIQ',
author_email='[email protected]',
version=__version__,
license='BSD License',
packages=find_packages(exclude=['tests']),
include_package_data=True,
package_data={
'opentaxii': ['*.yml']
},
entry_points={
'console_scripts': [
'opentaxii-run-dev = opentaxii.cli.run:run_in_dev_mode',
'opentaxii-create-account = opentaxii.cli.auth:create_account',
'opentaxii-update-account = opentaxii.cli.auth:update_account',
'opentaxii-sync-data = opentaxii.cli.persistence:sync_data_configuration',
'opentaxii-delete-blocks = opentaxii.cli.persistence:delete_content_blocks',
'opentaxii-add-api-root = opentaxii.cli.persistence:add_api_root',
'opentaxii-add-collection = opentaxii.cli.persistence:add_collection',
'opentaxii-job-cleanup = opentaxii.cli.persistence:job_cleanup',
]
},
install_requires=install_requires,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet',
'Topic :: Security',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)