Skip to content

Commit f0abb5a

Browse files
committed
Ignore files generated by paver and the build process. Use a fixed version string in the pavement.py file.
1 parent f24284f commit f0abb5a

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.hgignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
README.html
2+
virtualenvwrapper.egg-info
3+
paver-minilib.zip
4+
setup.py

pavement.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,11 @@
2828

2929
# What project are we building?
3030
PROJECT = 'virtualenvwrapper'
31-
32-
# What version is this? (take from path in svn tree)
33-
VERSION = path(os.getcwd()).name
34-
os.environ['VERSION'] = VERSION
31+
VERSION = '1.7'
3532

3633
# Read the long description to give to setup
37-
README = path('README').text()
34+
README_FILE = 'README'
35+
README = path(README_FILE).text()
3836

3937
# Scan the input for package information
4038
# to grab any data files (text, images, etc.)
@@ -121,5 +119,5 @@ def html():
121119
# FIXME - Switch to sphinx?
122120
outfile = path('README.html')
123121
outfile.unlink()
124-
sh('rst2html.py README README.html')
122+
sh('rst2html.py %s README.html' % README_FILE)
125123
return

0 commit comments

Comments
 (0)