Update with xstatic-release script

Change-Id: I85514e4afde528e72d8b2a44a79702427df449f3
This commit is contained in:
Rob Cresswell 2016-07-18 09:29:01 +01:00
parent d0dd552b60
commit 5a30bee80d
5 changed files with 36 additions and 32 deletions

2
.gitignore vendored
View File

@ -3,6 +3,8 @@
*.sqlite3
.DS_STORE
*.egg-info
.eggs
MANIFEST
.venv
.tox
build

View File

@ -1,8 +0,0 @@
include README.txt
recursive-include xstatic/pkg/angular *
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-Angular
summary = Angular 1.4.10 (XStatic packaging standard)
description-file = README.rst
maintainer = Rob Cresswell
maintainer-email = robert.cresswell@outlook.com
home-page = http://angularjs.org
keywords = angular xstatic
license = MIT
zip_safe = False
namespace_packages =
xstatic
xstatic.pkg
[files]
packages =
xstatic
[bdist_wheel]
universal = True

View File

@ -1,27 +1,17 @@
from xstatic.pkg import angular 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
# 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=xs.PACKAGE_NAME,
version=xs.PACKAGE_VERSION,
description=xs.DESCRIPTION,
long_description=long_description,
classifiers=xs.CLASSIFIERS,
keywords=xs.KEYWORDS,
maintainer=xs.MAINTAINER,
maintainer_email=xs.MAINTAINER_EMAIL,
license=xs.LICENSE,
url=xs.HOMEPAGE,
platforms=xs.PLATFORMS,
name='XStatic-Angular',
summary="""Angular 1.4.10 (XStatic packaging standard)""",
description=long_description,
maintainer="Rob Cresswell",
maintainer_email='robert.cresswell@outlook.com',
use_scm_version=True,
setup_requires=['setuptools_scm', 'wheel'],
packages=find_packages(),
namespace_packages=['xstatic', 'xstatic.pkg', ],
include_package_data=True,
zip_safe=False,
install_requires=[], # nothing! :)
# if you like, you MAY use the 'XStatic' package.
include_package_data=True
)

View File

@ -24,8 +24,8 @@ CLASSIFIERS = []
KEYWORDS = '%s xstatic' % NAME
# XStatic-* package maintainer:
MAINTAINER = 'Radomir Dopieralski'
MAINTAINER_EMAIL = 'openstack@sheep.art.pl'
MAINTAINER = 'Rob Cresswell'
MAINTAINER_EMAIL = 'robert.cresswell@outlook.com'
# this refers to the project homepage of the stuff we packaged:
HOMEPAGE = 'http://angularjs.org'