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
Thomas Leymonerie
slapos.buildout
Commits
14f5c7d6
Commit
14f5c7d6
authored
Aug 19, 2012
by
Jim Fulton
Browse files
Options
Browse Files
Download
Plain Diff
merge master
parents
b9138c32
b83d945f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
2 deletions
+18
-2
.gitignore
.gitignore
+3
-0
README.rst
README.rst
+1
-1
dev.py
dev.py
+14
-1
No files found.
.gitignore
View file @
14f5c7d6
...
@@ -3,3 +3,6 @@ bin/
...
@@ -3,3 +3,6 @@ bin/
build/
build/
develop-eggs/
develop-eggs/
eggs/
eggs/
*.pyc
*.egg
*.egg-info
README.rst
View file @
14f5c7d6
...
@@ -44,4 +44,4 @@ Buildout is a project designed to solve 2 problems:
...
@@ -44,4 +44,4 @@ Buildout is a project designed to solve 2 problems:
distribution, there can only be one installed.
distribution, there can only be one installed.
To learn more about buildout, including how to use it, see the
To learn more about buildout, including how to use it, see the
`
`Buildout Documentation <http://packages.python.org/buildout/>`
`_.
`
Buildout Documentation <http://packages.python.org/buildout/>
`_.
dev.py
View file @
14f5c7d6
...
@@ -26,6 +26,20 @@ for d in 'eggs', 'develop-eggs', 'bin', 'parts':
...
@@ -26,6 +26,20 @@ for d in 'eggs', 'develop-eggs', 'bin', 'parts':
if
os
.
path
.
isdir
(
'build'
):
if
os
.
path
.
isdir
(
'build'
):
shutil
.
rmtree
(
'build'
)
shutil
.
rmtree
(
'build'
)
nosite
=
'site'
not
in
sys
.
modules
######################################################################
# Make sure we have a relatively clean environment
try
:
import
pkg_resources
,
setuptools
except
ImportError
:
pass
else
:
raise
SystemError
(
"Buildout development with a pre-installed setuptools or "
"distribute is not supported.%s"
%
(
''
if
nosite
else
' Try running with -S option to Python.'
))
######################################################################
######################################################################
# handle -S
# handle -S
...
@@ -35,7 +49,6 @@ def normpath(p):
...
@@ -35,7 +49,6 @@ def normpath(p):
else
:
else
:
return
p
return
p
nosite
=
'site'
not
in
sys
.
modules
if
nosite
:
if
nosite
:
# They've asked not to import site. Cool, but distribute is going to
# They've asked not to import site. Cool, but distribute is going to
# import it anyway, so we're going to have to clean up. :(
# import it anyway, so we're going to have to clean up. :(
...
...
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