mirror of
https://github.com/mandiant/capa.git
synced 2025-12-22 07:10:29 -08:00
add long description and other improvements
This commit is contained in:
25
setup.py
25
setup.py
@@ -39,18 +39,30 @@ else:
|
|||||||
# this sets __version__
|
# this sets __version__
|
||||||
# via: http://stackoverflow.com/a/7071358/87207
|
# via: http://stackoverflow.com/a/7071358/87207
|
||||||
# and: http://stackoverflow.com/a/2073599/87207
|
# and: http://stackoverflow.com/a/2073599/87207
|
||||||
with open(os.path.join("capa", "version.py"), "rb") as f:
|
with open(os.path.join("capa", "version.py"), "r") as f:
|
||||||
exec(f.read())
|
exec(f.read())
|
||||||
|
|
||||||
|
|
||||||
|
# via: https://packaging.python.org/guides/making-a-pypi-friendly-readme/
|
||||||
|
this_directory = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
with open(os.path.join(this_directory, "README.md"), "r") as f:
|
||||||
|
long_description = f.read()
|
||||||
|
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="flare-capa",
|
name="flare-capa",
|
||||||
version=__version__,
|
version=__version__,
|
||||||
description="The FLARE team's open-source tool to identify capabilities in executable files.",
|
description="The FLARE team's open-source tool to identify capabilities in executable files.",
|
||||||
long_description="",
|
long_description=long_description,
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
author="Willi Ballenthin, Moritz Raabe",
|
author="Willi Ballenthin, Moritz Raabe",
|
||||||
author_email="william.ballenthin@mandiant.com, moritz.raabe@mandiant.com",
|
author_email="william.ballenthin@mandiant.com, moritz.raabe@mandiant.com",
|
||||||
url="https://www.github.com/fireeye/capa",
|
url="https://www.github.com/fireeye/capa",
|
||||||
|
project_urls={
|
||||||
|
"Documentation": "https://github.com/fireeye/capa/tree/master/doc",
|
||||||
|
"Rules": "https://github.com/fireeye/capa-rules",
|
||||||
|
"Rules Documentation": "https://github.com/fireeye/capa-rules/tree/master/doc",
|
||||||
|
},
|
||||||
packages=setuptools.find_packages(exclude=["tests"]),
|
packages=setuptools.find_packages(exclude=["tests"]),
|
||||||
package_dir={"capa": "capa"},
|
package_dir={"capa": "capa"},
|
||||||
entry_points={
|
entry_points={
|
||||||
@@ -72,12 +84,15 @@ setuptools.setup(
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
keywords="capa",
|
keywords="capa malware analysis capability detection FLARE",
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Development Status :: 3 - Alpha",
|
"Development Status :: 5 - Production/Stable",
|
||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
|
"Intended Audience :: Information Technology",
|
||||||
|
"License :: OSI Approved :: Apache Software License",
|
||||||
"Natural Language :: English",
|
"Natural Language :: English",
|
||||||
"Programming Language :: Python :: 2",
|
"Programming Language :: Python :: 2.7",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
|
"Topic :: Security",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user