From 9a25919fa23ed4a7f2290270d8225d75b6d75138 Mon Sep 17 00:00:00 2001 From: Georges Toth Date: Tue, 18 Sep 2018 08:39:50 +0200 Subject: [PATCH] - Add description from README.md as long-description -> displayed on pypi. - Add project related URLs to be displayed on pypi. --- setup.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/setup.py b/setup.py index 3e50860..e1abace 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,14 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +from os import path + from setuptools import setup + import pymisp +this_directory = path.abspath(path.dirname(__file__)) +with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: + long_description = f.read() setup( name='pymisp', @@ -11,7 +17,14 @@ setup( author_email='raphael.vinot@circl.lu', maintainer='Raphaƫl Vinot', url='https://github.com/MISP/PyMISP', + project_urls={ + 'Documentation': 'http://pymisp.readthedocs.io', + 'Source': 'https://github.com/MISP/PyMISP', + 'Tracker': 'https://github.com/MISP/PyMISP/issues', + }, description='Python API for MISP.', + long_description=long_description, + long_description_content_type='text/markdown', packages=['pymisp', 'pymisp.tools'], classifiers=[ 'License :: OSI Approved :: BSD License',