Skip to content

Commit 47a1d99

Browse files
committed
final release touches
1 parent a553a0b commit 47a1d99

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

pavement.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,13 @@ def functest():
161161
@needs(["dist_clean", "minilib", "generate_setup", "sdist"])
162162
def release():
163163
"check release before upload to PyPI"
164-
sh("paver bdist_egg")
164+
sh("paver bdist_wheel")
165165

166166
# Check that source distribution can be built and is complete
167167
print
168168
print "~" * 78
169169
print "TESTING SOURCE BUILD"
170-
sh(
171-
"{ cd dist/ && unzip -q %s-%s.zip && cd %s-%s/"
170+
sh( "{ command cd dist/ && unzip -q %s-%s.zip && command cd %s-%s/"
172171
" && /usr/bin/python setup.py sdist >/dev/null"
173172
" && if { unzip -ql ../%s-%s.zip; unzip -ql dist/%s-%s.zip; }"
174173
" | cut -b26- | sort | uniq -c| egrep -v '^ +2 +' ; then"
@@ -181,7 +180,8 @@ def release():
181180

182181
print
183182
print "Created", " ".join([str(i) for i in path("dist").listdir()])
184-
print "Use 'paver sdist bdist_egg upload' to upload to PyPI"
183+
print "Use 'paver sdist bdist_wheel' to build the release and"
184+
print " 'twine upload dist/*.{zip,whl}' to upload to PyPI"
185185
print "Use 'paver dist_docs' to prepare an API documentation upload"
186186

187187

setup.cfg

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[egg_info]
2-
tag_build = dev
3-
tag_date = true
2+
##tag_build = dev
3+
##tag_date = true
44
##tag_svn_revision = true
55

66
[sdist]

src/pyrobase/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
1212
See U{https://github.com/pyroscope/pyrobase/wiki} for more.
1313
14-
Copyright (c) 2011 The PyroScope Project <[email protected]>
14+
Copyright (c) 2011-2017 The PyroScope Project <[email protected]>
1515
"""
1616
# This program is free software; you can redistribute it and/or modify
1717
# it under the terms of the GNU General Public License as published by

0 commit comments

Comments
 (0)