Merge branch 'github'
This commit is contained in:
commit
b2a7a8120c
|
@ -0,0 +1,8 @@
|
|||
*.pyc
|
||||
*.pyo
|
||||
dist/
|
||||
XStatic_jQuery.egg-info/
|
||||
MANIFEST
|
||||
.DS_Store
|
||||
.orig
|
||||
.rej
|
3
setup.py
3
setup.py
|
@ -2,7 +2,8 @@ from xstatic.pkg import jquery 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()
|
||||
with open('README.txt') as f:
|
||||
long_description = f.read()
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
|
|
|
@ -11,9 +11,9 @@ NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar')
|
|||
# please use a all-lowercase valid python
|
||||
# package name
|
||||
|
||||
VERSION = '1.10.2' # version of the packaged files, please use the upstream
|
||||
VERSION = '3.5.1' # version of the packaged files, please use the upstream
|
||||
# version number
|
||||
BUILD = '1' # our package build number, so we can release new builds
|
||||
BUILD = '0' # our package build number, so we can release new builds
|
||||
# with fixes for xstatic stuff.
|
||||
PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi
|
||||
|
||||
|
@ -28,7 +28,7 @@ MAINTAINER = 'Thomas Waldmann'
|
|||
MAINTAINER_EMAIL = 'tw@waldmann-edv.de'
|
||||
|
||||
# this refers to the project homepage of the stuff we packaged:
|
||||
HOMEPAGE = 'http://jquery.com/'
|
||||
HOMEPAGE = 'https://jquery.com/'
|
||||
|
||||
# this refers to all files:
|
||||
LICENSE = '(same as %s)' % DISPLAY_NAME
|
||||
|
@ -51,14 +51,26 @@ LOCATIONS = {
|
|||
('jquery', 'http'): {
|
||||
'jquery.js': 'http://code.jquery.com/jquery-%s.js' % VERSION,
|
||||
'jquery.min.js': 'http://code.jquery.com/jquery-%s.min.js' % VERSION,
|
||||
'jquery.slim.js': 'http://code.jquery.com/jquery-%s.slim.js' % VERSION,
|
||||
'jquery.slim.min.js': 'http://code.jquery.com/jquery-%s.slim.min.js' % VERSION,
|
||||
},
|
||||
('jquery', 'https'): {
|
||||
'jquery.js': 'https://code.jquery.com/jquery-%s.js' % VERSION,
|
||||
'jquery.min.js': 'https://code.jquery.com/jquery-%s.min.js' % VERSION,
|
||||
'jquery.slim.js': 'https://code.jquery.com/jquery-%s.slim.js' % VERSION,
|
||||
'jquery.slim.min.js': 'https://code.jquery.com/jquery-%s.slim.min.js' % VERSION,
|
||||
},
|
||||
('microsoft', 'http'): {
|
||||
'jquery.js': 'http://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.js' % VERSION,
|
||||
'jquery.min.js': 'http://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.min.js' % VERSION,
|
||||
'jquery.slim.js': 'http://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.slim.js' % VERSION,
|
||||
'jquery.slim.min.js': 'http://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.slim.min.js' % VERSION,
|
||||
},
|
||||
('microsoft', 'https'): {
|
||||
'jquery.js': 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.js' % VERSION,
|
||||
'jquery.min.js': 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.min.js' % VERSION,
|
||||
'jquery.slim.js': 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.slim.js' % VERSION,
|
||||
'jquery.slim.min.js': 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.slim.min.js' % VERSION,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue