Skip to content

Commit

Permalink
pypy support
Browse files Browse the repository at this point in the history
  * add to continuous build
  * exclude wsaccel dependency

Closes python-trio#119.
  • Loading branch information
belm0 committed Jun 15, 2019
1 parent 96d986f commit 1aa6e82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ matrix:
include:
- python: 3.6
- python: 3.7
- python: pypy3.6-7
dist: xenial
sudo: true

Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
python_requires=">=3.5",
keywords='websocket client server trio',
Expand All @@ -39,7 +41,9 @@
'async_generator>=1.10,<2',
'ipaddress>=1.0.22,<2',
'trio>=0.11',
'wsaccel>=0.6.2,<0.7',
# TODO: confirm whether wsaccel is relevant to performance
# Disabled on pypy: https://github.com/methane/wsaccel/issues/19
'wsaccel>=0.6.2,<0.7;implementation_name!="pypy"',
'wsproto>=0.14,<0.15',
'yarl>=1.2.6,<2'
],
Expand Down

0 comments on commit 1aa6e82

Please sign in to comment.