minor metadata / comments cleanups / fixes

This commit is contained in:
Thomas Waldmann 2011-06-26 12:21:01 +02:00
parent 593637ef0a
commit b34a7ff856
2 changed files with 15 additions and 10 deletions

View File

@ -7,13 +7,13 @@ from xstatic.pkg.jquery import JQuery as xs
long_description = open('README.txt').read()
setup( # better now, though not all of these make sense outside of setup.py
setup(
name='XStatic-' + xs.display_name,
version=xs.version,
description=xs.description,
long_description=long_description,
classifiers=xs.classifiers, # for pypi
keywords=xs.keywords, # for pypi
classifiers=xs.classifiers,
keywords=xs.keywords,
author=xs.author,
author_email=xs.author_email,
license=xs.license,

View File

@ -1,5 +1,5 @@
"""
jQuery package (following xstatic standard)
jQuery package
"""
from os.path import join, dirname
@ -12,22 +12,27 @@ class JQuery(XStatic):
version = '1.6.1' # for simplicity, use same version as bundled files
base_dir = join(dirname(__file__), 'data')
# linux package maintainers just can point to their file locations like this:
# base_dir = '/usr/share/javascript/jquery'
description = "%s (xstatic packaging standard)" % display_name
description = "%s (XStatic packaging standard)" % display_name
platforms = 'any'
classifiers = []
keywords = '%s xstatic' % name
# this all refers to the XStatic-* package:
author = 'xstatic developers'
author_email = 'xstatic@example.org'
license = '(same a %s)' % display_name
homepage = 'http://xstatic.example.org/'
author = 'Thomas Waldmann'
author_email = 'tw@waldmann-edv.de'
# XXX shall we have another bunch of entries for the bundled files?
# like upstream_author/homepage/download/...?
# note: distutils/register can't handle author and maintainer at once.
# this refers to the project homepage of the stuff we packaged:
homepage = 'http://jquery.com/'
# this refers to all files:
license = '(same a %s)' % display_name
locations = {
# if value is a string, it is a base location, just append relative