From a6870afa60cbed333e60b310cd922c1425f3bbef Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Fri, 2 Jun 2017 09:58:08 +0200 Subject: [PATCH] Read setup.py dependencies from requeriments.txt Fixes #136 --- setup.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/setup.py b/setup.py index 252cc81d5..4fc90324d 100644 --- a/setup.py +++ b/setup.py @@ -27,17 +27,8 @@ DEVELOPMENT_STATUS = "3 - Alpha" # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools -REQUIRES = [ - "certifi", - "ipaddress", - "oauth2client", - "setuptools", - "six", - "urllib3!=1.21", - "python-dateutil", - "pyyaml", - "websocket-client", -] +with open('requirements.txt') as f: + REQUIRES = f.readlines() setup( name=PACKAGE_NAME,