Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
OBITools
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
25
Issues
25
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
OBITools
OBITools
Commits
c22e6ff7
Commit
c22e6ff7
authored
Nov 17, 2014
by
Eric Coissac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
parent
f6da66d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
littlebigman.py
distutils.ext/obidistutils/command/littlebigman.py
+2
-2
checkpython.py
distutils.ext/obidistutils/serenity/checkpython.py
+2
-2
No files found.
distutils.ext/obidistutils/command/littlebigman.py
View file @
c22e6ff7
...
...
@@ -47,8 +47,8 @@ class littlebigman(build_exe):
def
run_littlebigman
(
self
):
p
=
subprocess
.
Popen
(
os
.
path
.
join
(
self
.
build_temp
,
'littlebigman'
),
p
=
subprocess
.
Popen
(
"'
%
s'"
%
os
.
path
.
join
(
self
.
build_temp
,
'littlebigman'
),
shell
=
True
,
stdout
=
subprocess
.
PIPE
)
little
=
p
.
communicate
()[
0
]
...
...
distutils.ext/obidistutils/serenity/checkpython.py
View file @
c22e6ff7
...
...
@@ -30,7 +30,7 @@ def is_python27(path=None):
if
path
is
None
:
pythonversion
=
LooseVersion
(
sysconfig
.
get_python_version
())
else
:
command
=
"""
%
s
-c 'from distutils import sysconfig; """
\
command
=
"""
'
%
s'
-c 'from distutils import sysconfig; """
\
"""print sysconfig.get_python_version()'"""
%
path
p
=
subprocess
.
Popen
(
command
,
...
...
@@ -82,7 +82,7 @@ def is_a_virtualenv_python(path=None):
if
path
is
None
:
rep
=
hasattr
(
sys
,
'real_prefix'
)
else
:
command
=
"""
%
s
-c 'import sys; print hasattr(sys,"real_prefix")'"""
%
path
command
=
"""
'
%
s'
-c 'import sys; print hasattr(sys,"real_prefix")'"""
%
path
p
=
subprocess
.
Popen
(
command
,
shell
=
True
,
stdout
=
subprocess
.
PIPE
)
...
...
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