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 #119.
  • Loading branch information
belm0 committed Jun 15, 2019
1 parent 96d986f commit 664cbb1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: python
dist: xenial

git:
depth: 1
Expand All @@ -7,8 +8,7 @@ matrix:
include:
- python: 3.6
- python: 3.7
dist: xenial
sudo: true
- python: pypy3.6-7.1.1

install:
- pip install -e .
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 664cbb1

Please sign in to comment.