Fixes for a packaging error

The xstatic-release script didn't tell the setup.py
to include data files in installation. This release
incorporates that fix (and an unintentional
change to the LICENSE).

This skips to the 8 BUILD because the 7th BUILD was
emergency released to fix the packaging error.

Change-Id: I3223f0f0c4387ad64068c3924eb634df6f0d3dcf
This commit is contained in:
Richard Jones 2016-06-25 09:07:41 +10:00
parent d25f70f7d5
commit 7a2e736846
3 changed files with 5 additions and 4 deletions

View File

@ -6,7 +6,7 @@ maintainer = Maxime Vidori
maintainer-email = maxime.vidori@enovance.com
home-page = http://angular-ui.github.io/bootstrap/
keywords = angular_bootstrap xstatic
license = (same as Angular-Bootstrap)
license = MIT
zip_safe = False
namespace_packages =
xstatic

View File

@ -12,5 +12,6 @@ setup(
maintainer_email='maxime.vidori@enovance.com',
use_scm_version=True,
setup_requires=['setuptools_scm', 'wheel'],
packages=find_packages()
packages=find_packages(),
include_package_data=True
)

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 = '6' # our package build number, so we can release new builds
BUILD = '8' # our package build number, so we can release new builds
# with fixes for xstatic stuff.
PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi
@ -31,7 +31,7 @@ MAINTAINER_EMAIL = 'maxime.vidori@enovance.com'
HOMEPAGE = 'http://angular-ui.github.io/bootstrap/'
# this refers to all files:
LICENSE = 'MIT'
LICENSE = '(same as Angular-Bootstrap)'
from os.path import join, dirname
BASE_DIR = join(dirname(__file__), 'data')