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
62b62d2e
Commit
62b62d2e
authored
Jul 10, 2023
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Really stop compiling Cython
parent
cd6c49ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
scripts/releases/make-manylinux
scripts/releases/make-manylinux
+12
-4
No files found.
scripts/releases/make-manylinux
View file @
62b62d2e
...
...
@@ -146,7 +146,16 @@ if [ -d /gevent -a -d /opt/python ]; then
# a tiny subset of tests)
echo
Possible Builds
ls
-l
/opt/python/
for
variant
in
/opt/python/cp
{
38,39,310,311,312
}
*
;
do
# If there is no Cython binary wheel available, don't try to build one; it takes
# forever! The old way of --install-option="--no-cython-compile" doesn't work because
# pip dropped support for it, and the "supported" way, --config-settings='--install-option="--no-cython-compile"'
# also doesn't work. Fortunately, Cython also reads an environment variable.
export
NO_CYTHON_COMPILE
=
true
# Start echoing commands (doing it earlier is too much)
set
-x
for
variant
in
/opt/python/cp
{
312,38,39,310,311,312
}
*
;
do
echo
$SEP
export
PATH
=
"
$variant
/bin:
$OPATH
"
if
[
-n
"
$SLOW_BUILD
"
]
;
then
...
...
@@ -163,9 +172,8 @@ if [ -d /gevent -a -d /opt/python ]; then
# The downside is that we must install dependencies manually.
# NOTE: We can't upgrade ``wheel`` because ``auditwheel`` depends on
# it, and auditwheel is installed in one of these environments.
# If there is no Cython binary wheel available, don't try to build one; it takes
# forever!
time
python
-m
pip
install
--config-settings
=
'--install-option="--no-cython-compile"'
-U
'cython>=3.0b3; python_version < "3.12"'
"Cython @ https://github.com/cython/cython/archive/37f4dcdc04547875e2836fda076f5707ec50e579.zip; python_version >= '3.12'"
time
python
-m
pip
install
-U
'cython>=3.0b3; python_version < "3.12"'
time
python
-m
pip
install
-v
-U
"Cython @ https://github.com/cython/cython/archive/37f4dcdc04547875e2836fda076f5707ec50e579.zip; python_version >= '3.12'"
time
python
-mpip
install
-U
cffi
'greenlet >= 2.0.0; python_version < "3.12"'
'greenlet >= 3.0a1; python_version >= "3.12"'
setuptools
echo
"
$variant
: Building wheel"
time
(
python setup.py bdist_wheel
)
...
...
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