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
Jérome Perrin
slapos.buildout
Commits
2eefee6e
Commit
2eefee6e
authored
Apr 18, 2013
by
Reinout van Rees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added test for multiple imports in distutils script.
This exposes a bug.
parent
d503d880
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
src/zc/buildout/easy_install.txt
src/zc/buildout/easy_install.txt
+1
-0
src/zc/buildout/tests.py
src/zc/buildout/tests.py
+1
-0
No files found.
src/zc/buildout/easy_install.txt
View file @
2eefee6e
...
@@ -977,6 +977,7 @@ like for the console_scripts.
...
@@ -977,6 +977,7 @@ like for the console_scripts.
]
]
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
import os
import sys; sys.stdout.write("distutils!\n")
import sys; sys.stdout.write("distutils!\n")
Note that there are several items that need to come first in such a script
Note that there are several items that need to come first in such a script
...
...
src/zc/buildout/tests.py
View file @
2eefee6e
...
@@ -2947,6 +2947,7 @@ def create_sample_eggs(test, executable=sys.executable):
...
@@ -2947,6 +2947,7 @@ def create_sample_eggs(test, executable=sys.executable):
'# -*- coding: utf-8 -*-
\
n
'
'# -*- coding: utf-8 -*-
\
n
'
'"""Module docstring."""
\
n
'
'"""Module docstring."""
\
n
'
'from __future__ import print_statement
\
n
'
'from __future__ import print_statement
\
n
'
'import os
\
n
'
'import sys; sys.stdout.write("distutils!
\
\
n")
\
n
'
'import sys; sys.stdout.write("distutils!
\
\
n")
\
n
'
)
)
write
(
write
(
...
...
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