Skip to content

Commit

Permalink
BUG: doc build needs access to site-packages to find MPL.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgommers committed Apr 18, 2010
1 parent 89754b7 commit 7b2407f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pavement.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,13 @@
SUPERPACK_BINDIR = os.path.join(SUPERPACK_BUILD, 'binaries')

options(bootstrap=Bunch(bootstrap_dir="bootstrap"),
virtualenv=Bunch(packages_to_install=["sphinx", "numpydoc"], no_site_packages=True),
virtualenv=Bunch(packages_to_install=["sphinx", "numpydoc"],
no_site_packages=False),
sphinx=Bunch(builddir="build", sourcedir="source", docroot='doc'),
superpack=Bunch(builddir="build-superpack"),
installers=Bunch(releasedir="release",
installersdir=os.path.join("release", "installers")),
doc=Bunch(doc_root="doc",
doc=Bunch(doc_root="doc",
sdir=os.path.join("doc", "source"),
bdir=os.path.join("doc", "build"),
bdir_latex=os.path.join("doc", "build", "latex"),
Expand Down Expand Up @@ -208,7 +209,7 @@ def copy_bdist(arch):
copy_bdist("sse2")
bdist_wininst_arch(pyver, 'sse3')
copy_bdist("sse3")

idirs = options.installers.installersdir
pyver = options.python_version
prepare_nsis_script(pyver, FULLVERSION)
Expand Down Expand Up @@ -275,8 +276,8 @@ def bootstrap(options):

options.virtualenv.script_name = os.path.join(options.bootstrap_dir,
bscript)
options.virtualenv.no_site_packages = True
options.bootstrap.no_site_packages = True
options.virtualenv.no_site_packages = False
options.bootstrap.no_site_packages = False
call_task('paver.virtual.bootstrap')
sh('cd %s; %s %s' % (bdir, sys.executable, bscript))

Expand Down

0 comments on commit 7b2407f

Please sign in to comment.