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
e367ae74
Commit
e367ae74
authored
Jun 18, 2018
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build 3.7 manylinux wheels.
parent
77a21373
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
scripts/releases/make-manylinux
scripts/releases/make-manylinux
+11
-8
No files found.
scripts/releases/make-manylinux
View file @
e367ae74
#!/bin/bash
#!/bin/bash
# Initially based on a snippet from the greenlet project.
# Initially based on a snippet from the greenlet project.
# This needs to be run from the root of the project.
# This needs to be run from the root of the project.
# To update: docker pull quay.io/pypa/manylinux1_x86_64
set
-e
set
-e
export
PYTHONUNBUFFERED
=
1
export
PYTHONUNBUFFERED
=
1
export
PYTHONDONTWRITEBYTECODE
=
1
export
PYTHONDONTWRITEBYTECODE
=
1
...
@@ -10,18 +11,20 @@ if [ -d /gevent -a -d /opt/python ]; then
...
@@ -10,18 +11,20 @@ if [ -d /gevent -a -d /opt/python ]; then
yum
-y
install
libffi-devel
yum
-y
install
libffi-devel
cd
/gevent
cd
/gevent
rm
-rf
wheelhouse
rm
-rf
wheelhouse
mkdir
wheelhouse
mkdir
wheelhouse
for
variant
in
`
ls
-d
/opt/python/cp
{
27,34,35,36
}
*
`
;
do
for
variant
in
`
ls
-d
/opt/python/cp
{
37,27,34,35,36
}
*
`
;
do
echo
"Building
$variant
"
mkdir
/tmp/build
mkdir
/tmp/build
cd
/tmp/build
cd
/tmp/build
git clone /gevent gevent
git clone /gevent gevent
cd
gevent
cd
gevent
$variant
/bin/pip
install
-U
-r
ci-requirements.txt
$variant
/bin/pip
install
-U
-r
ci-requirements.txt
# manylinux 1 is too old to build libuv, don't even try.
GEVENT_NO_LIBUV_BUILD
=
1
PATH
=
$variant
/bin:
$PATH
$variant
/bin/python setup.py bdist_wheel
GEVENT_NO_LIBUV_BUILD
=
1
PATH
=
$variant
/bin:
$PATH
$variant
/bin/python setup.py bdist_wheel
auditwheel repair dist/
*
.whl
auditwheel repair dist/
*
.whl
cp
wheelhouse/
*
.whl /gevent/wheelhouse
cp
wheelhouse/
*
.whl /gevent/wheelhouse
cd
/gevent
cd
/gevent
rm
-rf
/tmp/build
rm
-rf
/tmp/build
done
done
rm
-rf
dist build
*
.egg-info
rm
-rf
dist build
*
.egg-info
exit
0
exit
0
...
...
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