Skip to content

Commit c1a43c1

Browse files
committed
Merge branch 'master' of github.com:GetStream/stream-chat-python
2 parents 078a4ba + 332e751 commit c1a43c1

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ language: python
22
dist: xenial
33
matrix:
44
include:
5+
- python: 2.7
56
- python: 3.4
67
- python: 3.5
78
- python: 3.6

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# stream-chat-python
22

3-
[![Build Status](https://travis-ci.com/GetStream/stream-chat-python.svg?token=WystDPP9vxKnwsd8NwW1&branch=master)](https://travis-ci.com/GetStream/stream-chat-python) [![codecov](https://codecov.io/gh/GetStream/stream-chat-python/branch/master/graph/badge.svg?token=DM7rr9M7Kl)](https://codecov.io/gh/GetStream/stream-chat-python) [![PyPI version](https://badge.fury.io/py/stream-chat.svg)](http://badge.fury.io/py/stream-chat)
3+
[![Build Status](https://travis-ci.com/GetStream/stream-chat-python.svg?token=WystDPP9vxKnwsd8NwW1&branch=master)](https://travis-ci.com/GetStream/stream-chat-python) [![codecov](https://codecov.io/gh/GetStream/stream-chat-python/branch/master/graph/badge.svg?token=DM7rr9M7Kl)](https://codecov.io/gh/GetStream/stream-chat-python) [![PyPI version](https://badge.fury.io/py/stream-chat.svg)](http://badge.fury.io/py/stream-chat) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/stream-chat.svg)
44

55
the official Python API client for [Stream chat](https://getstream.io/chat/) a service for building chat applications.
66

@@ -10,12 +10,6 @@ You can use this library to access chat API endpoints server-side, for the clien
1010

1111
### Installation
1212

13-
stream-chat-python supports:
14-
15-
- Python (3.4, 3.5, 3.6, 3.7)
16-
17-
#### Install from Pypi
18-
1913
```bash
2014
pip install stream-chat
2115
```

setup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,15 @@
33
from setuptools import find_packages, setup
44
from setuptools.command.test import test as TestCommand
55

6+
requests = "requests>=2.3.0,<3"
7+
8+
# python 2.7.9 does not support SNI
9+
if sys.version_info < (2, 7, 9):
10+
requests = "requests[security]>=2.4.1,<3"
11+
612
install_requires = [
713
"pycryptodomex==3.8.1",
8-
"requests>=2.3.0,<3",
14+
requests,
915
"pyjwt==1.7.1",
1016
"six>=1.8.0",
1117
]

0 commit comments

Comments
 (0)