Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
persistent
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
persistent
Commits
96d670f1
Commit
96d670f1
authored
Aug 23, 2018
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wheel building for PyPy.
Don't confuse ext_modules with headers. Fixes #88
parent
341ac6aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
.travis.yml
.travis.yml
+2
-0
CHANGES.rst
CHANGES.rst
+2
-1
setup.py
setup.py
+4
-1
No files found.
.travis.yml
View file @
96d670f1
...
@@ -60,6 +60,8 @@ install:
...
@@ -60,6 +60,8 @@ install:
-
pip install -U -e .[test]
-
pip install -U -e .[test]
script
:
script
:
-
python --version
-
python --version
# make sure we can build a wheel
-
python setup.py bdist_wheel
# coverage makes PyPy run about 3x slower, but the tests only take
# coverage makes PyPy run about 3x slower, but the tests only take
# .4s to begin with (the whole process takes about 1.5), so that's
# .4s to begin with (the whole process takes about 1.5), so that's
# still only 4.5s, which is maneagable.
# still only 4.5s, which is maneagable.
...
...
CHANGES.rst
View file @
96d670f1
...
@@ -4,7 +4,8 @@
...
@@ -4,7 +4,8 @@
4.4.1 (unreleased)
4.4.1 (unreleased)
------------------
------------------
- Nothing changed yet.
- Fix installation of source packages on PyPy. See `issue 88
<https://github.com/zopefoundation/persistent/issues/88>`_.
4.4.0 (2018-08-22)
4.4.0 (2018-08-22)
...
...
setup.py
View file @
96d670f1
...
@@ -39,7 +39,10 @@ is_jython = 'java' in sys.platform
...
@@ -39,7 +39,10 @@ is_jython = 'java' in sys.platform
# anti-optimizations (the C extension compatibility layer is known-slow,
# anti-optimizations (the C extension compatibility layer is known-slow,
# and defeats JIT opportunities).
# and defeats JIT opportunities).
if
is_pypy
or
is_jython
:
if
is_pypy
or
is_jython
:
ext_modules
=
headers
=
[]
# Note that all the lists we pass to setuptools must be distinct
# objects, or bad things happen. See https://github.com/zopefoundation/persistent/issues/88
ext_modules
=
[]
headers
=
[]
else
:
else
:
ext_modules
=
[
ext_modules
=
[
Extension
(
Extension
(
...
...
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