X Tutup
Skip to content

Commit f500444

Browse files
committed
Merged -r288:HEAD from 0.7.1 into trunk, fixing registration with pypi.
git-svn-id: https://src.springframework.org/svn/se-springpython-py/trunk/springpython@290 ce8fead1-4192-4296-8608-a705134b927f
1 parent 81ed8af commit f500444

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

build.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ def publish(filename, BUCKET_NAME, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY):
163163
else:
164164
print "Error code %s: Unable to publish" % check.status
165165

166-
def register(version):
167-
os.system("cd src ; python setup.py --version %s register" % version)
168-
os.system("cd samples ; python setup.py --version %s register" % version)
166+
def register():
167+
os.system("cd src ; python setup.py register")
168+
os.system("cd samples ; python setup.py register")
169169

170170
# Using glob, generate a list of files, then use map to go over each item, and copy it
171171
# from source to destination.
@@ -328,7 +328,7 @@ def docs_pdf(version):
328328
[publish(filename, BUCKET_NAME, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY) for filename in glob("target/artifacts/*.tar.gz")]
329329

330330
if option[0] in ("--register"):
331-
register(completeVersion)
331+
register()
332332

333333
if option[0] in ("--site"):
334334
site(completeVersion)

samples/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
'petclinic.db',
4646
'springirc',
4747
'springwiki'],
48-
download_url="http://sourceforge.net/projects/springpython/",
48+
download_url="http://s3browse.com/explore/dist.springframework.org/release/EXT/se-springpython-py/",
4949
classifiers=["License :: OSI Approved :: GNU General Public License (GPL)",
5050
"License :: OSI Approved :: Apache Software License",
5151
"Intended Audience :: Developers",

src/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
'springpython.security.userdetails'
5454
],
5555
package_data={'springpython': ["README", "COPYRIGHT", "LICENSE.txt"]},
56-
download_url="http://sourceforge.net/projects/springpython/",
56+
download_url="http://s3browse.com/explore/dist.springframework.org/release/EXT/se-springpython-py/",
5757
classifiers=["License :: OSI Approved :: Apache Software License",
5858
"Intended Audience :: Developers",
5959
"Development Status :: 4 - Beta",

0 commit comments

Comments
 (0)
X Tutup