Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.buildout
Commits
eb155429
Commit
eb155429
authored
Feb 06, 2015
by
André Anjos
💬
Browse files
Execute site.main() to run the normal path manipulations as well
parent
f3adf6c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/buildout/script.py
View file @
eb155429
...
...
@@ -31,6 +31,7 @@ sys.path[0:0] = [
%%(path)s,
]
import site #initializes site properly
site.main() #this is required for python>=3.4
import pkg_resources #initializes virtualenvs properly
%%(initialization)s
import %%(module_name)s
...
...
Write
Preview
Supports
Markdown
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