Update with corrected xstatic-release

Change-Id: Ib60d7cd76f00d7959c703063b008273759edf5b3
This commit is contained in:
Richard Jones 2016-09-07 13:27:12 +10:00
parent 577f0ce201
commit 4ca4a059f8
3 changed files with 18 additions and 10 deletions

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = XStatic-Bootstrap-SCSS name = XStatic-Bootstrap-SCSS
summary = Bootstrap-SCSS 3.3.7 (XStatic packaging standard) description = Bootstrap-SCSS 3.3.7 (XStatic packaging standard)
description-file = README.rst description-file = README.rst
maintainer = Radomir Dopieralski maintainer = Radomir Dopieralski
maintainer-email = openstack@sheep.art.pl maintainer-email = openstack@sheep.art.pl

View File

@ -1,17 +1,25 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
from xstatic.pkg import bootstrap_scss as xs
# The README.txt file should be written in reST so that PyPI can use # The README.txt file should be written in reST so that PyPI can use
# it to generate your project's PyPI page. # it to generate your project's PyPI page.
long_description = open('README.txt').read() long_description = open('README.txt').read()
setup( setup(
name='XStatic-Bootstrap-SCSS', name=xs.PACKAGE_NAME,
summary="""Bootstrap-SCSS 3.3.7 (XStatic packaging standard)""", version=xs.PACKAGE_VERSION,
description=long_description, description=xs.DESCRIPTION,
maintainer="Radomir Dopieralski", long_description=long_description,
maintainer_email='openstack@sheep.art.pl', classifiers=xs.CLASSIFIERS,
use_scm_version=True, keywords=xs.KEYWORDS,
setup_requires=['setuptools_scm', 'wheel'], maintainer=xs.MAINTAINER,
maintainer_email=xs.MAINTAINER_EMAIL,
license=xs.LICENSE,
url=xs.HOMEPAGE,
platforms=xs.PLATFORMS,
packages=find_packages(), packages=find_packages(),
include_package_data=True namespace_packages=['xstatic', 'xstatic.pkg'],
include_package_data=True,
zip_safe=False,
install_requires=[],
) )

View File

@ -13,7 +13,7 @@ NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar')
VERSION = '3.3.7' # version of the packaged files, please use the upstream VERSION = '3.3.7' # version of the packaged files, please use the upstream
# version number # version number
BUILD = '0' # our package build number, so we can release new builds BUILD = '1' # 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