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
Boxiang Sun
slapos.buildout
Commits
637c7a05
Commit
637c7a05
authored
Aug 21, 2012
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change test for compiled extension to look for any `.so` or `.pyd` file
parent
23103fb2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
22 deletions
+6
-22
src/zc/buildout/easy_install.txt
src/zc/buildout/easy_install.txt
+3
-9
src/zc/buildout/tests.py
src/zc/buildout/tests.py
+0
-2
zc.recipe.egg_/src/zc/recipe/egg/custom.txt
zc.recipe.egg_/src/zc/recipe/egg/custom.txt
+3
-9
zc.recipe.egg_/src/zc/recipe/egg/tests.py
zc.recipe.egg_/src/zc/recipe/egg/tests.py
+0
-2
No files found.
src/zc/buildout/easy_install.txt
View file @
637c7a05
...
...
@@ -1159,15 +1159,9 @@ We have a link server that has a number of eggs:
And that the source directory contains the compiled extension:
>>> ls(extdemo)
- MANIFEST
- MANIFEST.in
- README
d build
- extdemo.c
d extdemo.egg-info
- extdemo.so
- setup.py
>>> contents = os.listdir(extdemo)
>>> any([f for f in contents if f.endswith(('.so', '.pyd'))])
True
Download cache
--------------
...
...
src/zc/buildout/tests.py
View file @
637c7a05
...
...
@@ -3017,8 +3017,6 @@ def test_suite():
zc.buildout.testing.normalize_exception_type_for_python_2_and_3,
normalize_bang,
normalize_S,
(re.compile('
extdemo
[.]
pyd
'), '
extdemo
.
so
'),
(re.compile('
extdemo
[.]
cpython
-
3
?
m
.
so
'), '
extdemo
.
so
'),
(re.compile('
[
-
d
]
distribute
-
\
S
+
[.]
egg
'), '
distribute
.
egg
'),
(re.compile(r'
\\
[
\\
]
?
'), '
/
'),
]+(sys.version_info < (2, 5) and [
...
...
zc.recipe.egg_/src/zc/recipe/egg/custom.txt
View file @
637c7a05
...
...
@@ -546,15 +546,9 @@ Our develop-eggs now includes an egg link for extdemo:
and the extdemo now has a built extension:
>>> ls(extdemo)
- MANIFEST
- MANIFEST.in
- README
d build
- extdemo.c
d extdemo.egg-info
- extdemo.so
- setup.py
>>> contents = os.listdir(extdemo)
>>> any([f for f in contents if f.endswith(('.so', '.pyd'))])
True
Because develop eggs take precedence over non-develop eggs, the demo
script will use the new develop egg:
...
...
zc.recipe.egg_/src/zc/recipe/egg/tests.py
View file @
637c7a05
...
...
@@ -84,8 +84,6 @@ def test_suite():
"-
\
d[.]
\
d-py)
\
d[.]
\
d(-
\
S+)?[.]egg
"
),
'
\\
1
V
.
V
.
egg
'),
(re.compile('
extdemo
.
c
\
n
.
+
\\
extdemo
.
exp
\
n
'), ''),
(re.compile('
extdemo
[.]
pyd
'), '
extdemo
.
so
'),
(re.compile('
extdemo
[.]
cpython
-
3
?
m
.
so
'), '
extdemo
.
so
'),
(re.compile(
r'
zip_safe
flag
not
set
;
analyzing
archive
contents
.
*
\
n
'),
''),
...
...
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