Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Kirill Smelkov
gevent
Commits
f18a8e43
Commit
f18a8e43
authored
Aug 03, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround flaky RTD behaviour in not putting the directory holding cython on the path. [skip ci]
parent
c5d58ae4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
util/cythonpp.py
util/cythonpp.py
+6
-0
No files found.
util/cythonpp.py
View file @
f18a8e43
...
...
@@ -23,6 +23,12 @@ CYTHON = os.environ.get('CYTHON') or 'cython'
DEBUG
=
False
WRITE_OUTPUT
=
False
if
os
.
getenv
(
'READTHEDOCS'
):
# Sometimes RTD fails to put our virtualenv bin directory
# on the PATH, meaning we can't run cython. Fix that.
new_path
=
os
.
environ
[
'PATH'
]
+
os
.
pathsep
+
os
.
path
.
dirname
(
sys
.
executable
)
os
.
environ
[
'PATH'
]
=
new_path
# Parameter name in macros must match this regex:
param_name_re
=
re
.
compile
(
'^[a-zA-Z_]
\
w*$
'
)
...
...
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