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
Łukasz Nowak
slapos.buildout
Commits
c1197975
Commit
c1197975
authored
Aug 06, 2009
by
Chris Withers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d'oh - meant for branch, but I guess the temptation was there ;-)
parent
1e0269eb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
23 deletions
+10
-23
bootstrap/bootstrap.py
bootstrap/bootstrap.py
+5
-11
dev.py
dev.py
+3
-10
setup.py
setup.py
+1
-1
zc.recipe.egg_/setup.py
zc.recipe.egg_/setup.py
+1
-1
No files found.
bootstrap/bootstrap.py
View file @
c1197975
...
...
@@ -26,21 +26,15 @@ tmpeggs = tempfile.mkdtemp()
is_jython
=
sys
.
platform
.
startswith
(
'java'
)
to_reload
=
False
try
:
import
pkg_resources
if
not
hasattr
(
pkg_resources
,
'_distribute'
):
to_reload
=
True
raise
ImportError
except
ImportError
:
ez
=
{}
exec
urllib2
.
urlopen
(
'http://
nightly.ziade.org/bootstraping
.py'
exec
urllib2
.
urlopen
(
'http://
peak.telecommunity.com/dist/ez_setup
.py'
).
read
()
in
ez
ez
[
'use_setuptools'
](
to_dir
=
tmpeggs
,
download_delay
=
0
)
if
to_reload
:
reload
(
pkg_resources
)
else
:
import
pkg_resources
import
pkg_resources
if
sys
.
platform
==
'win32'
:
def
quote
(
c
):
...
...
@@ -69,7 +63,7 @@ if is_jython:
quote
(
tmpeggs
),
'zc.buildout'
+
VERSION
],
env
=
dict
(
os
.
environ
,
PYTHONPATH
=
ws
.
find
(
pkg_resources
.
Requirement
.
parse
(
'
distribute
'
)).
location
ws
.
find
(
pkg_resources
.
Requirement
.
parse
(
'
setuptools
'
)).
location
),
).
wait
()
==
0
...
...
@@ -79,7 +73,7 @@ else:
'-c'
,
quote
(
cmd
),
'-mqNxd'
,
quote
(
tmpeggs
),
'zc.buildout'
+
VERSION
,
dict
(
os
.
environ
,
PYTHONPATH
=
ws
.
find
(
pkg_resources
.
Requirement
.
parse
(
'
distribute
'
)).
location
ws
.
find
(
pkg_resources
.
Requirement
.
parse
(
'
setuptools
'
)).
location
),
)
==
0
...
...
dev.py
View file @
c1197975
...
...
@@ -30,22 +30,15 @@ for d in 'eggs', 'develop-eggs', 'bin':
if
os
.
path
.
isdir
(
'build'
):
shutil
.
rmtree
(
'build'
)
to_reload
=
False
try
:
import
pkg_resources
if
not
hasattr
(
pkg_resources
,
'_distribute'
):
to_reload
=
True
raise
ImportError
except
ImportError
:
ez
=
{}
exec
urllib2
.
urlopen
(
'http://
nightly.ziade.org/bootstraping
.py'
exec
urllib2
.
urlopen
(
'http://
peak.telecommunity.com/dist/ez_setup
.py'
).
read
()
in
ez
ez
[
'use_setuptools'
](
to_dir
=
tmpeggs
,
download_delay
=
0
)
if
to_reload
:
reload
(
pkg_resources
)
else
:
import
pkg_resources
ez
[
'use_setuptools'
](
to_dir
=
'eggs'
,
download_delay
=
0
)
import
pkg_resources
subprocess
.
Popen
(
[
sys
.
executable
]
+
...
...
setup.py
View file @
c1197975
...
...
@@ -72,7 +72,7 @@ setup(
packages
=
[
'zc'
,
'zc.buildout'
],
package_dir
=
{
''
:
'src'
},
namespace_packages
=
[
'zc'
],
install_requires
=
'
distribute
'
,
install_requires
=
'
setuptools
'
,
include_package_data
=
True
,
entry_points
=
{
'console_scripts'
:
[
'buildout = %s.buildout:main'
%
name
]},
...
...
zc.recipe.egg_/setup.py
View file @
c1197975
...
...
@@ -67,7 +67,7 @@ setup(
namespace_packages
=
[
'zc'
,
'zc.recipe'
],
install_requires
=
[
'zc.buildout >=1.2.0'
,
'
distribute
'
],
'
setuptools
'
],
tests_require
=
[
'zope.testing'
],
test_suite
=
name
+
'.tests.test_suite'
,
entry_points
=
{
'zc.buildout'
:
[
'default = %s:Scripts'
%
name
,
...
...
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