Change openstack-dev to openstack-discuss

Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Update the setup.py to support twine; explicitly say that the long
description is a markdown file.

Change-Id: Ia5315b68818e86a08c0b35e8ed896f91bf851228
This commit is contained in:
Vieri 2018-12-04 17:55:50 +00:00 committed by Alex Kavanagh
parent d63ff87304
commit 80b99add8a
2 changed files with 8 additions and 1 deletions

View File

@ -4,7 +4,7 @@ summary = native lxd driver for openstack
description-file =
README.md
author = OpenStack
author-email = openstack-dev@lists.openstack.org
author-email = openstack-discuss@lists.openstack.org
home-page = https://www.openstack.org/
classifier =
Environment :: OpenStack

View File

@ -14,6 +14,7 @@
# limitations under the License.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import os
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
@ -24,6 +25,12 @@ try:
except ImportError:
pass
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), 'rb') as f:
long_description = f.read().decode('utf-8')
setuptools.setup(
long_description=long_description,
long_description_content_type='text/markdown',
setup_requires=['pbr>=2.0.0'],
pbr=True)