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
Nicolas Wavrant
slapos.buildout
Commits
90eefec9
Commit
90eefec9
authored
Oct 02, 2006
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugs Fixed
---------- Non-zip-safe eggs were not unzipped when they were installed.
parent
64aeb370
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
11 deletions
+20
-11
CHANGES.txt
CHANGES.txt
+8
-0
setup.py
setup.py
+1
-1
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+5
-4
src/zc/buildout/easy_install.txt
src/zc/buildout/easy_install.txt
+1
-1
src/zc/buildout/tests.py
src/zc/buildout/tests.py
+1
-1
src/zc/buildout/testselectingpython.py
src/zc/buildout/testselectingpython.py
+1
-1
zc.recipe.egg_/src/zc/recipe/egg/selecting-python.txt
zc.recipe.egg_/src/zc/recipe/egg/selecting-python.txt
+2
-2
zc.recipe.egg_/src/zc/recipe/egg/tests.py
zc.recipe.egg_/src/zc/recipe/egg/tests.py
+1
-1
No files found.
CHANGES.txt
View file @
90eefec9
...
...
@@ -22,6 +22,14 @@ priorities include:
Change History
**************
1.0.0b9 (2006-10-02)
====================
Bugs Fixed
----------
Non-zip-safe eggs were not unzipped when they were installed.
1.0.0b8 (2006-10-01)
====================
...
...
setup.py
View file @
90eefec9
...
...
@@ -7,7 +7,7 @@ def read(*rnames):
name
=
"zc.buildout"
setup
(
name
=
name
,
version
=
"1.0.0b
8
"
,
version
=
"1.0.0b
9
"
,
author
=
"Jim Fulton"
,
author_email
=
"jim@zope.com"
,
description
=
"System for managing development buildouts"
,
...
...
src/zc/buildout/easy_install.py
View file @
90eefec9
...
...
@@ -229,16 +229,17 @@ def _get_dist(requirement, env, ws,
"Couln't download a distribution for %s."
%
requirement
)
should_unzip
=
False
if
always_unzip
:
should_unzip
=
True
else
:
metadata
=
pkg_resources
.
EggMetadata
(
zipimport
.
zipimporter
(
dist
.
location
)
)
should_unzip
=
not
(
should_unzip
=
(
metadata
.
has_metadata
(
'not-zip-safe'
)
or
not
metadata
.
has_metadata
(
'zip-safe'
)
or
not
metadata
.
has_metadata
(
'zip-safe'
)
)
if
should_unzip
:
setuptools
.
archive_util
.
unpack_archive
(
dist
.
location
,
...
...
src/zc/buildout/easy_install.txt
View file @
90eefec9
...
...
@@ -134,7 +134,7 @@ dependencies. We might do this to specify a sprcific version.
- demo-0.3-py2.4.egg
- demoneeded-1.0-py2.4.egg
- demoneeded-1.1-py2.4.egg
-
other-1.0-py2.4.egg
d
other-1.0-py2.4.egg
We can request that eggs be unzipped even if they are zip safe. This
can be useful when debugging.
...
...
src/zc/buildout/tests.py
View file @
90eefec9
...
...
@@ -403,7 +403,7 @@ def create_sample_eggs(test, executable=sys.executable):
write
(
tmp
,
'setup.py'
,
"from setuptools import setup
\
n
"
"setup(name='other', zip_safe=
Tru
e, version='1.0', "
"setup(name='other', zip_safe=
Fals
e, version='1.0', "
"py_modules=['eggrecipedemobeeded'])
\
n
"
)
zc
.
buildout
.
testing
.
bdist_egg
(
tmp
,
executable
,
dest
)
...
...
src/zc/buildout/testselectingpython.py
View file @
90eefec9
...
...
@@ -30,7 +30,7 @@ We can specify an specific Python executable.
>>> ls(dest)
d demo-0.3-py2.3.egg
d demoneeded-1.1-py2.3.egg
-
setuptools-0.6-py2.3.egg
d
setuptools-0.6-py2.3.egg
"""
...
...
zc.recipe.egg_/src/zc/recipe/egg/selecting-python.txt
View file @
90eefec9
...
...
@@ -61,8 +61,8 @@ we'll get the Python 2.3 eggs for demo and demoneeded:
>>> ls(sample_buildout, 'eggs')
- demo-0.2-py2.3.egg
- demoneeded-1.1-py2.3.egg
-
setuptools-0.6-py2.3.egg
-
setuptools-0.6-py2.4.egg
d
setuptools-0.6-py2.3.egg
d
setuptools-0.6-py2.4.egg
- zc.buildout-1.0-py2.4.egg
And the generated scripts invoke Python 2.3:
...
...
zc.recipe.egg_/src/zc/recipe/egg/tests.py
View file @
90eefec9
...
...
@@ -104,7 +104,7 @@ def test_suite():
zc.buildout.testing.normalize_path,
zc.buildout.testing.normalize_script,
(re.compile('
Got
setuptools
\
S
+
'), '
Got
setuptools
V
'),
(re.compile('
setuptools
-
\
S
+-
py
'), '
setuptools
-
V
-
py
'),
(re.compile('
([
d
-
]
)
?
setuptools
-
\
S
+-
py
'), '
setuptools
-
V
-
py
'),
(re.compile('
-
py2
[.][
0
-
24
-
9
][.]
'), '
py2
.
4.
'),
(re.compile('
zc
.
buildout
-
\
S
+
[.]
egg
'),
'
zc
.
buildout
.
egg
'),
...
...
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