-
Notifications
You must be signed in to change notification settings - Fork 87
/
setup.py
30 lines (24 loc) · 935 Bytes
/
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
from setuptools import find_packages, setup
def parse_requirements(requirement_file):
with open(requirement_file) as f:
return f.readlines()
version = dict()
with open("./pyattck/utils/version.py") as fp:
exec(fp.read(), version)
setup(
name="pyattck",
version=version["__version__"],
packages=find_packages(exclude=["tests*"]),
license="MIT",
description="A Python package to interact with the Mitre ATT&CK Frameworks",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
install_requires=parse_requirements("./requirements.txt"),
keywords=["att&ck", "mitre", "swimlane"],
url="https://github.com/swimlane/pyattck",
author="Swimlane",
author_email="[email protected]",
python_requires=">=3.6, <4",
package_data={"pyattck": ["data/logging.yml"]},
entry_points={"console_scripts": ["pyattck = pyattck.cli:main"]},
)