|
2 | 2 |
|
3 | 3 | import setuptools
|
4 | 4 |
|
5 |
| -with open('README.md', 'r', encoding='utf8') as fh: |
| 5 | +with open("README.md", "r", encoding="utf8") as fh: |
6 | 6 | long_description = fh.read()
|
7 | 7 |
|
8 |
| -with open("speakeasy/version.py", encoding='utf8') as fp: |
| 8 | +with open("speakeasy/version.py", encoding="utf8") as fp: |
9 | 9 | vl = fp.readline()
|
10 |
| - gv, ver_num = vl.split('=') |
11 |
| - if gv.strip() != '__version__': |
12 |
| - raise Exception('Invalid version file found') |
13 |
| - version = ver_num.strip().strip("\"\'") |
| 10 | + gv, ver_num = vl.split("=") |
| 11 | + if gv.strip() != "__version__": |
| 12 | + raise Exception("Invalid version file found") |
| 13 | + version = ver_num.strip().strip("\"'") |
14 | 14 |
|
15 | 15 | with open("requirements.txt", encoding="utf-8") as f:
|
16 | 16 | requirements = [line.strip() for line in f.readlines()]
|
17 | 17 |
|
18 | 18 | setuptools.setup(
|
19 |
| - name='speakeasy-emulator', |
20 |
| - author='Andrew Davis', |
21 |
| - description='Speakeasy malware emulation framework', |
| 19 | + name="speakeasy-emulator", |
| 20 | + author="Andrew Davis", |
| 21 | + description="Speakeasy malware emulation framework", |
22 | 22 | version=version,
|
23 | 23 | long_description=long_description,
|
24 |
| - long_description_content_type='text/markdown', |
| 24 | + long_description_content_type="text/markdown", |
25 | 25 | packages=setuptools.find_packages(),
|
26 |
| - url='https://github.com/fireeye/speakeasy', |
| 26 | + url="https://github.com/fireeye/speakeasy", |
27 | 27 | include_package_data=True,
|
28 | 28 | install_requires=requirements,
|
29 | 29 | classifiers=[
|
30 | 30 | "Programming Language :: Python :: 3",
|
31 | 31 | "License :: OSI Approved :: MIT License",
|
32 | 32 | "Operating System :: OS Independent",
|
33 | 33 | ],
|
34 |
| - python_requires='>=3.6', |
| 34 | + python_requires=">=3.6", |
| 35 | + entry_points={"console_scripts": ["speakeasy=speakeasy.cli:main"]}, |
35 | 36 | )
|
0 commit comments