Skip to content

Commit

Permalink
Make sure setup.py reads it's long description from the README.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-sgaron committed Apr 16, 2020
1 parent 1b866de commit 2f0a5b1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@
full_tag_prefix = 'refs/tags/v'
package_version = os.environ['BUILD_SOURCEBRANCH'][len(full_tag_prefix):]

# read the contents of your README file
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

setup(
name="assemblyline-service-client",
version=package_version,
description="Assemblyline (v4) automated malware analysis framework - Service client components.",
long_description="This package provides the service client components for "
"the Assemblyline v4 malware analysis framework.",
description="Assemblyline 4 - Service client",
long_description=long_description,
long_description_content_type='text/markdown',
url="https://github.com/CybercentreCanada/assemblyline-service-client/",
author="CCCS Assemblyline development team",
author_email="[email protected]",
Expand All @@ -30,7 +34,7 @@
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords="assemblyline malware gc canada cse-cst cse cst cyber cccs",
keywords="assemblyline automated malware analysis gc canada cse-cst cse cst cyber cccs",
packages=find_packages(exclude=['test/*']),
install_requires=[
'assemblyline',
Expand Down

0 comments on commit 2f0a5b1

Please sign in to comment.