- Add description from README.md as long-description -> displayed on pypi.

- Add project related URLs to be displayed on pypi.
pull/277/head
Georges Toth 2018-09-18 08:39:50 +02:00
parent cd1de8c6bf
commit 9a25919fa2
1 changed files with 13 additions and 0 deletions

View File

@ -1,8 +1,14 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from os import path
from setuptools import setup from setuptools import setup
import pymisp 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( setup(
name='pymisp', name='pymisp',
@ -11,7 +17,14 @@ setup(
author_email='raphael.vinot@circl.lu', author_email='raphael.vinot@circl.lu',
maintainer='Raphaël Vinot', maintainer='Raphaël Vinot',
url='https://github.com/MISP/PyMISP', 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.', description='Python API for MISP.',
long_description=long_description,
long_description_content_type='text/markdown',
packages=['pymisp', 'pymisp.tools'], packages=['pymisp', 'pymisp.tools'],
classifiers=[ classifiers=[
'License :: OSI Approved :: BSD License', 'License :: OSI Approved :: BSD License',