diff options
| author | Rapptz <[email protected]> | 2015-10-18 23:34:27 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-10-18 23:34:27 -0400 |
| commit | 7ff2cd008fce806fb575ce190c7bfb1f900c42cd (patch) | |
| tree | 1629cbd796a5379102fc9787d8120619dc7b418e | |
| parent | Add Client.create_role to create a server-wide role. (diff) | |
| download | discord.py-7ff2cd008fce806fb575ce190c7bfb1f900c42cd.tar.xz discord.py-7ff2cd008fce806fb575ce190c7bfb1f900c42cd.zip | |
Properly set requirements of ws4py and requests.
| -rw-r--r-- | MANIFEST.in | 1 | ||||
| -rw-r--r-- | requirements.txt | 4 | ||||
| -rw-r--r-- | setup.py | 7 |
3 files changed, 6 insertions, 6 deletions
diff --git a/MANIFEST.in b/MANIFEST.in index 04f196ac..bb910ebb 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,3 @@ include README.md include LICENSE +include requirements.txt diff --git a/requirements.txt b/requirements.txt index ba8f903f..6d606391 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -ws4py -requests +ws4py>=0.3.4 +requests>=2.7.0 @@ -1,10 +1,9 @@ from setuptools import setup import re -requirements = [ - 'ws4py', - 'requests' -] +requirements = [] +with open('requirements.txt') as f: + requirements = f.read().splitlines() version = '' with open('discord/__init__.py') as f: |