Include more metadata in setup.py

This uses the newer 1.1.0 version of xstatic-release
which copies more information into setup.py and therefore
into pypi.

This change will also be used to test releasing through
the openstack-release system.

Change-Id: I036c1ce0b74212e74dffa853e709db086a4829be
This commit is contained in:
Richard Jones 2016-06-24 13:46:02 +10:00
parent 6a9182ab00
commit 5fc34187e1
2 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,15 @@
from setuptools import setup, find_packages
# The README.txt file should be written in reST so that PyPI can use
# it to generate your project's PyPI page.
long_description = open('README.txt').read()
setup(
name='XStatic-Angular-Bootstrap',
summary="""Angular-Bootstrap 0.11.0 (XStatic packaging standard)""",
description=long_description,
maintainer="Maxime Vidori",
maintainer_email='maxime.vidori@enovance.com',
use_scm_version=True,
setup_requires=['setuptools_scm', 'wheel'],
packages=find_packages()

View File

@ -13,7 +13,7 @@ NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar')
VERSION = '0.11.0' # version of the packaged files, please use the upstream
# version number
BUILD = '4' # our package build number, so we can release new builds
BUILD = '5' # our package build number, so we can release new builds
# with fixes for xstatic stuff.
PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi