Skip to content

Commit 664cbb1

Browse files
committed
pypy support
* add to continuous build * exclude wsaccel dependency Closes #119.
1 parent 96d986f commit 664cbb1

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
language: python
2+
dist: xenial
23

34
git:
45
depth: 1
@@ -7,8 +8,7 @@ matrix:
78
include:
89
- python: 3.6
910
- python: 3.7
10-
dist: xenial
11-
sudo: true
11+
- python: pypy3.6-7.1.1
1212

1313
install:
1414
- pip install -e .

setup.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
'Programming Language :: Python :: 3.5',
3232
'Programming Language :: Python :: 3.6',
3333
'Programming Language :: Python :: 3.7',
34+
'Programming Language :: Python :: Implementation :: CPython',
35+
'Programming Language :: Python :: Implementation :: PyPy',
3436
],
3537
python_requires=">=3.5",
3638
keywords='websocket client server trio',
@@ -39,7 +41,9 @@
3941
'async_generator>=1.10,<2',
4042
'ipaddress>=1.0.22,<2',
4143
'trio>=0.11',
42-
'wsaccel>=0.6.2,<0.7',
44+
# TODO: confirm whether wsaccel is relevant to performance
45+
# Disabled on pypy: https://github.com/methane/wsaccel/issues/19
46+
'wsaccel>=0.6.2,<0.7;implementation_name!="pypy"',
4347
'wsproto>=0.14,<0.15',
4448
'yarl>=1.2.6,<2'
4549
],

0 commit comments

Comments
 (0)