Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
isaak yansane-sisk
slapos.buildout
Commits
42b15c19
Commit
42b15c19
authored
Jun 24, 2012
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
another test passing w 3.2
parent
85d7872c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
src/zc/buildout/isolation.txt
src/zc/buildout/isolation.txt
+7
-4
No files found.
src/zc/buildout/isolation.txt
View file @
42b15c19
...
...
@@ -38,10 +38,11 @@ This document tests the 3rd option.
>>> sample_buildout = tmpdir('sample')
>>> cd(sample_buildout)
>>> import sys
>>> print_(system("%s -S %s init demo" % (sys.executable, bootstrap_py)),
... end='')
>>> print_('X' +
... system("%s -S %s init demo" % (sys.executable, bootstrap_py)),
... end='\n===')
... # doctest: +ELLIPSIS
Downloading http://pypi.python.org/packages/source/d/distribute/
...
X
...
Creating '/sample/buildout.cfg'.
Creating directory '/sample/bin'.
Creating directory '/sample/parts'.
...
...
@@ -57,6 +58,8 @@ This document tests the 3rd option.
Got demoneeded 1.2c1.
Generated script '/sample/bin/demo'.
Generated interpreter '/sample/bin/py'.
...
===
If we look at the scripts generated, se see that the -S option is
provided to the Python executable:
...
...
@@ -79,7 +82,7 @@ The -S option is also used when invoking setup scripts.
>>> write('proj', 'setup.py', """
... from distutils.core import setup
... import sys
...
print_('site:', 'site' in sys.modules
)
...
sys.stdout.write('site: %s\\n' % ('site' in sys.modules)
)
... setup(name='hassite')
... """)
>>> print_(system(join('bin', 'buildout')+' setup proj sdist'))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment