Skip to content

Commit

Permalink
Build with latest available PyPy versions and avoid 2to3; we can clai…
Browse files Browse the repository at this point in the history
…m to build universal wheels now.
  • Loading branch information
jamadden committed Jun 8, 2017
1 parent 3f17d08 commit 938b173
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -6,10 +6,10 @@ python:
- 3.4
- 3.5
- 3.6
- pypy
- pypy3
- pypy-5.4.1
- pypy3.3-5.2-alpha1
install:
- pip install .[test]
- pip install -e .[test]
script:
- python setup.py -q test -q
notifications:
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
@@ -0,0 +1,2 @@
[bdist_wheel]
universal = 1
16 changes: 0 additions & 16 deletions setup.py
Expand Up @@ -23,21 +23,6 @@
from setuptools import setup


if platform.python_implementation() == 'PyPy' \
and platform.python_version() > '3':
extras = dict(
use_2to3=True,
convert_2to3_doctests=[
'src/zope/testing/doctest.txt',
'src/zope/testing/formparser.txt',
'src/zope/testing/module.txt',
'src/zope/testing/setupstack.txt',
],
)
else:
extras = {}


def read(*rnames):
with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
return f.read()
Expand Down Expand Up @@ -104,5 +89,4 @@ def read(*rnames):
include_package_data=True,
zip_safe=False,
test_suite='zope.testing.tests.test_suite',
**extras
)

0 comments on commit 938b173

Please sign in to comment.