forked from mandiant/speakeasy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (31 loc) · 1.17 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
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
import setuptools
with open("README.md", "r", encoding="utf8") as fh:
long_description = fh.read()
with open("speakeasy/version.py", encoding="utf8") as fp:
vl = fp.readline()
gv, ver_num = vl.split("=")
if gv.strip() != "__version__":
raise Exception("Invalid version file found")
version = ver_num.strip().strip("\"'")
with open("requirements.txt", encoding="utf-8") as f:
requirements = [line.strip() for line in f.readlines()]
setuptools.setup(
name="speakeasy-emulator",
author="Andrew Davis",
description="Speakeasy malware emulation framework",
version=version,
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
url="https://github.com/fireeye/speakeasy",
include_package_data=True,
install_requires=requirements,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
entry_points={"console_scripts": ["speakeasy=speakeasy.cli:main"]},
)