better egg long_description
This commit is contained in:
parent
243230d0b0
commit
cf7495ffef
|
@ -1,4 +1,6 @@
|
|||
plone.api
|
||||
License
|
||||
=======
|
||||
|
||||
Copyright (C) 2012-2013 Plone Foundation
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
|
|
|
@ -61,9 +61,6 @@ Folow these step to create a new release of `plone.api`.
|
|||
#. Create a release, tag it in git and upload it to GitHub by running
|
||||
``bin/mkrelease -d pypi -pq .`` (see example below).
|
||||
|
||||
#. Go to ``https://readthedocs.org/dashboard/ploneapi/versions/`` and choose
|
||||
the latest version to be displayed as the default version.
|
||||
|
||||
|
||||
Example
|
||||
=======
|
||||
|
|
7
setup.py
7
setup.py
|
@ -6,13 +6,18 @@ import os
|
|||
def read(*rnames):
|
||||
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
|
||||
|
||||
long_description = \
|
||||
read('README.rst') + \
|
||||
read('docs', 'CHANGES.rst') + \
|
||||
read('docs', 'LICENSE.txt')
|
||||
|
||||
version = '1.0.0-rc.2'
|
||||
|
||||
setup(
|
||||
name='plone.api',
|
||||
version=version,
|
||||
description='A Plone API.',
|
||||
long_description=read('README.rst'),
|
||||
long_description=long_description,
|
||||
author='Plone Foundation',
|
||||
author_email='plone-developers@lists.sourceforge.net',
|
||||
license='GPL version 2',
|
||||
|
|
Reference in New Issue