Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 22becbb

Browse files
author
rgommers
committed
ENH: Several changes to Paver script taken from 1.4.x branch.
1 parent 213302f commit 22becbb

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

pavement.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# remove build dir, and everything generated by previous paver calls
1616
# (included generated installers). Use with care !
1717
paver nuke
18-
paver bootstrap && source boostrap/bin/activate
18+
paver bootstrap && source bootstrap/bin/activate
1919
# Installing numpy is necessary to build the correct documentation (because
2020
# of autodoc)
2121
python setupegg.py install
@@ -93,7 +93,7 @@
9393
superpack=Bunch(builddir="build-superpack"),
9494
installers=Bunch(releasedir="release",
9595
installersdir=os.path.join("release", "installers")),
96-
doc=Bunch(doc_root="doc",
96+
doc=Bunch(doc_root="doc",
9797
sdir=os.path.join("doc", "source"),
9898
bdir=os.path.join("doc", "build"),
9999
bdir_latex=os.path.join("doc", "build", "latex"),
@@ -117,8 +117,8 @@
117117

118118
if sys.platform =="darwin":
119119
WINDOWS_PYTHON = {
120-
"2.6": ["wine", "/Users/david/.wine/drive_c/Python26/python.exe"],
121-
"2.5": ["wine", "/Users/david/.wine/drive_c/Python25/python.exe"]
120+
"2.6": ["wine", os.environ['HOME'] + "/.wine/drive_c/Python26/python.exe"],
121+
"2.5": ["wine", os.environ['HOME'] + "/.wine/drive_c/Python25/python.exe"]
122122
}
123123
WINDOWS_ENV = os.environ
124124
WINDOWS_ENV["DYLD_FALLBACK_LIBRARY_PATH"] = "/usr/X11/lib:/usr/lib"
@@ -134,16 +134,16 @@
134134
MAKENSIS = ["makensis"]
135135
else:
136136
WINDOWS_PYTHON = {
137-
"2.6": ["wine", "/home/david/.wine/drive_c/Python26/python.exe"],
138-
"2.5": ["wine", "/home/david/.wine/drive_c/Python25/python.exe"]
137+
"2.6": ["wine", os.environ['HOME'] + "/.wine/drive_c/Python26/python.exe"],
138+
"2.5": ["wine", os.environ['HOME'] + "/.wine/drive_c/Python25/python.exe"]
139139
}
140140
WINDOWS_ENV = os.environ
141141
MAKENSIS = ["wine", "makensis"]
142142

143143
# Start/end of the log (from git)
144-
LOG_START = 'svn/tags/1.3.0'
144+
LOG_START = 'svn/tags/1.4.0'
145145
LOG_END = 'master'
146-
RELEASE_NOTES = 'doc/release/1.4.0-notes.rst'
146+
RELEASE_NOTES = 'doc/release/1.5.0-notes.rst'
147147

148148
#-------------------
149149
# Windows installers
@@ -208,7 +208,7 @@ def copy_bdist(arch):
208208
copy_bdist("sse2")
209209
bdist_wininst_arch(pyver, 'sse3')
210210
copy_bdist("sse3")
211-
211+
212212
idirs = options.installers.installersdir
213213
pyver = options.python_version
214214
prepare_nsis_script(pyver, FULLVERSION)
@@ -275,8 +275,8 @@ def bootstrap(options):
275275

276276
options.virtualenv.script_name = os.path.join(options.bootstrap_dir,
277277
bscript)
278-
options.virtualenv.no_site_packages = True
279-
options.bootstrap.no_site_packages = True
278+
options.virtualenv.no_site_packages = False
279+
options.bootstrap.no_site_packages = False
280280
call_task('paver.virtual.bootstrap')
281281
sh('cd %s; %s %s' % (bdir, sys.executable, bscript))
282282

0 commit comments

Comments
 (0)