Update using xstatic-release

The presence of the wheel requirement was a give-away, but
there are a bunch of other aspects of this setup.py that
are fixed using the most recent xstatic-release tool.

Change-Id: I31cce7ac50baa45c8d58fef6e325e42342a3247e
Co-Authored-By: Richard Jones <r1chardj0n3s@gmail.com>
This commit is contained in:
Thomas Bechtold 2016-12-22 14:02:26 +01:00 committed by Richard Jones
parent af8a6034a8
commit 789da35708
3 changed files with 20 additions and 8 deletions

4
.gitreview Normal file
View File

@ -0,0 +1,4 @@
[gerrit]
host=review.openstack.org
port=29418
project=openstack/xstatic-angular-ui-router.git

View File

@ -1,17 +1,25 @@
from setuptools import setup, find_packages
from xstatic.pkg import angular_ui_router as xs
# 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-ui-router',
description="""angular-ui-router 0.3.1 (XStatic packaging standard)""",
name=xs.PACKAGE_NAME,
version=xs.PACKAGE_VERSION,
description=xs.DESCRIPTION,
long_description=long_description,
maintainer="Richard Jones",
maintainer_email='r1chardj0n3s@gmail.com',
use_scm_version=True,
setup_requires=['setuptools_scm', 'wheel'],
classifiers=xs.CLASSIFIERS,
keywords=xs.KEYWORDS,
maintainer=xs.MAINTAINER,
maintainer_email=xs.MAINTAINER_EMAIL,
license=xs.LICENSE,
url=xs.HOMEPAGE,
platforms=xs.PLATFORMS,
packages=find_packages(),
include_package_data=True
namespace_packages=['xstatic', 'xstatic.pkg'],
include_package_data=True,
zip_safe=False,
install_requires=[],
)

View File

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