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

View File

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