Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
b847bc56
Commit
b847bc56
authored
Dec 31, 2018
by
Boxiang Sun
Committed by
gsamain
Jul 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build the extension in slapos instead in the test file
parent
a61e1981
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
nogil_test/basic_test.py
nogil_test/basic_test.py
+2
-1
nogil_test/build_extension.py
nogil_test/build_extension.py
+2
-1
No files found.
nogil_test/basic_test.py
View file @
b847bc56
...
...
@@ -3,7 +3,8 @@ import importlib
import
json
def
run
(
env
):
subprocess
.
call
([
'python3'
,
'nogil_extension.py'
,
'build_ext'
,
'--inplace'
],
env
=
env
)
# Build the extension when installing the Cython in slapos
# subprocess.call(['python3', 'nogil_extension.py', 'build_ext', '--inplace'], env=env)
source
=
''
failure_count
=
0
try
:
...
...
nogil_test/build_extension.py
View file @
b847bc56
...
...
@@ -3,7 +3,8 @@ import importlib
import
sys
def
build_ext
(
env
):
subprocess
.
check_output
([
'python3'
,
'setup.py'
,
'build_ext'
,
'--inplace'
],
cwd
=
'./cython_lwan_coro/'
,
env
=
env
)
# Build the cython_lwan_coro when installing it in slapos
# subprocess.check_output(['python3', 'setup.py', 'build_ext', '--inplace'], cwd='./cython_lwan_coro/', env=env)
source
=
''
failure_count
=
0
try
:
...
...
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