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:
9
setup.py
9
setup.py
@@ -1,6 +1,15 @@
|
|||||||
from setuptools import setup, find_packages
|
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(
|
setup(
|
||||||
name='XStatic-Angular-Bootstrap',
|
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,
|
use_scm_version=True,
|
||||||
setup_requires=['setuptools_scm', 'wheel'],
|
setup_requires=['setuptools_scm', 'wheel'],
|
||||||
packages=find_packages()
|
packages=find_packages()
|
||||||
|
|||||||
@@ -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 = '0.11.0' # version of the packaged files, please use the upstream
|
||||||
# version number
|
# 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.
|
# with fixes for xstatic stuff.
|
||||||
PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi
|
PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user