From: Aaron Hill Date: Sat, 17 Aug 2013 01:45:06 +0000 (-0400) Subject: Added dependencies X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=690bda979eaffdbfcfc570cdd171f903e2dd67c2;p=tweepy.git Added dependencies --- diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..2393072 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +requests==1.2.3 +requests_oauth==0.4.1 diff --git a/setup.py b/setup.py index 0e4b56f..4aea1d5 100644 --- a/setup.py +++ b/setup.py @@ -2,6 +2,10 @@ #from distutils.core import setup from setuptools import setup, find_packages from tweepy import __version__ +from pip.req import parse_requirements + +install_reqs = parse_requirements('requirements.txt') +reqs = [str(req.req) for req in install_reqs] setup(name="tweepy", version=__version__, @@ -11,5 +15,6 @@ setup(name="tweepy", author_email="tweepy@googlegroups.com", url="http://github.com/tweepy/tweepy", packages=find_packages(exclude=['tests']), + intall_requires=reqs, keywords="twitter library", zip_safe=True)