Update with corrected xstatic-release

Also update to replace license placeholder with actual.

Change-Id: Ic51be3ac844999041b64e9f1c87ca3ff96bde61f
This commit is contained in:
Richard Jones 2016-09-07 13:30:10 +10:00
parent 4efc42f747
commit 7845a12f0f
4 changed files with 24 additions and 7 deletions

View File

@ -1,8 +1,6 @@
include README.txt
recursive-include xstatic/pkg/jasmine *
recursive-include xstatic *
global-exclude *.pyc
global-exclude *.pyo
global-exclude *.orig
global-exclude *.rej

20
setup.cfg Normal file
View File

@ -0,0 +1,20 @@
[metadata]
name = XStatic-Jasmine
description = Jasmine 2.4.1 (XStatic packaging standard)
description-file = README.rst
maintainer = Radomir Dopieralski
maintainer-email = openstack@sheep.art.pl
home-page = http://jasmine.github.io/
keywords = jasmine xstatic
license = MIT
zip_safe = False
namespace_packages =
xstatic
xstatic.pkg
[files]
packages =
xstatic
[bdist_wheel]
universal = True

View File

@ -1,11 +1,10 @@
from setuptools import setup, find_packages
from xstatic.pkg import jasmine 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()
from setuptools import setup, find_packages
setup(
name=xs.PACKAGE_NAME,
version=xs.PACKAGE_VERSION,
@ -19,7 +18,7 @@ setup(
url=xs.HOMEPAGE,
platforms=xs.PLATFORMS,
packages=find_packages(),
namespace_packages=['xstatic', 'xstatic.pkg', ],
namespace_packages=['xstatic', 'xstatic.pkg'],
include_package_data=True,
zip_safe=False,
install_requires=[],

View File

@ -31,7 +31,7 @@ MAINTAINER_EMAIL = 'openstack@sheep.art.pl'
HOMEPAGE = 'http://jasmine.github.io/'
# this refers to all files:
LICENSE = '(same as %s)' % DISPLAY_NAME
LICENSE = 'MIT'
from os.path import join, dirname
BASE_DIR = join(dirname(__file__), 'data')