This repository was archived by the owner on May 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathsetup.py
More file actions
57 lines (48 loc) · 1.57 KB
/
setup.py
File metadata and controls
57 lines (48 loc) · 1.57 KB
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
#!/usr/bin/env python
import os
from setuptools import setup
from certau import package_name, package_version
def here(*path):
return os.path.join(os.path.dirname(__file__), *path)
def get_file_contents(filename):
with open(here(filename)) as fp:
return fp.read()
# This is a quick and dirty way to include everything from
# requirements.txt as package dependencies.
install_requires_list = get_file_contents('requirements.txt').split()
setup(
name=package_name,
version=package_version,
description='CERT Australia cyber threat intelligence (CTI) toolkit',
url='https://github.com/certau/cti-toolkit/',
author='CERT Australia, Australian Government',
author_email='info@cert.gov.au',
license='BSD',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
keywords='STIX TAXII',
packages={
'certau',
'certau/util',
'certau/util/stix',
'certau/util/taxii',
'certau/scripts',
'certau/source',
'certau/transform',
},
entry_points={
'console_scripts': [
'stixtransclient.py=certau.scripts.stixtransclient:main',
],
},
install_requires=install_requires_list
)