Add Python 3.7 as supported version

This commit is contained in:
Sergey Petrov
2018-11-30 23:33:43 +03:00
parent 26d714117e
commit 6f3b2a7456
4 changed files with 7 additions and 4 deletions
+1
View File
@@ -7,6 +7,7 @@ python:
- '3.4'
- '3.5'
- '3.6'
- '3.7'
install:
- pip install .
+4 -3
View File
@@ -35,7 +35,7 @@ client.send_notification(token_hex, payload, topic)
To develop PyAPNs2, check out the code and install dependencies. It's recommended to use a virtualenv to isolate dependencies:
```shell
# Clone the source code.
git clone https://github.com/Pr0ger/PyAPNs2.git
git clone https://github.com/Pr0Ger/PyAPNs2.git
cd PyAPNs2
# Create a virtualenv and install dependencies.
virtualenv venv
@@ -51,8 +51,9 @@ python -m unittest discover test
You can use `tox` for running tests with all supported Python versions:
```shell
pyenv install 2.7.13 && pyenv install 3.4.6 && pyenv install 3.5.3 & pyenv install 3.6.0
pyenv local 3.6.0 3.5.3 3.4.6 2.7.13
pyenv install 2.7.15; pyenv install 3.4.9; pyenv install 3.5.6; pyenv install 3.6.7; pyenv install 3.7.1
pyenv local 3.7.1 3.6.7 3.5.6 3.4.9 2.7.15
pip install tox
tox
```
+1
View File
@@ -30,6 +30,7 @@ setup(
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries',
],
description='A python library for interacting with the Apple Push Notification Service via HTTP/2 protocol'
+1 -1
View File
@@ -1,5 +1,5 @@
[tox]
envlist = py27, py34, py35, py36
envlist = py27, py34, py35, py36, py37
[testenv]
commands = nosetests []