add long_description to setup.py for #166.
This commit is contained in:
parent
51fa0de520
commit
c642169ec7
8
setup.py
8
setup.py
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
import os
|
||||
import unittest
|
||||
|
||||
from setuptools import setup
|
||||
@ -6,6 +7,10 @@ from setuptools import setup
|
||||
with open('pubs/version.py') as f:
|
||||
exec(f.read()) # defines __version__
|
||||
|
||||
here = os.path.abspath(os.path.dirname(__file__))
|
||||
with open(os.path.join(here, 'readme.md'), 'r') as fd:
|
||||
long_description = fd.read()
|
||||
|
||||
def pubs_test_suite():
|
||||
test_loader = unittest.TestLoader()
|
||||
test_suite = test_loader.discover('tests', pattern='test_*.py')
|
||||
@ -20,6 +25,9 @@ setup(
|
||||
url='https://github.com/pubs/pubs',
|
||||
|
||||
description='command-line scientific bibliography manager',
|
||||
long_description=long_description,
|
||||
long_description_content_type='text/markdown',
|
||||
|
||||
packages=['pubs',
|
||||
'pubs.config',
|
||||
'pubs.commands',
|
||||
|
Loading…
x
Reference in New Issue
Block a user