#!/usr/bin/env python
#from distutils.core import setup
import re, uuid
from setuptools import setup, find_packages
from pip.req import parse_requirements

VERSIONFILE = "tweepy/__init__.py"
ver_file = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, ver_file, re.M)

if mo:
    version = mo.group(1)
else:
    raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))

install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(req.req) for req in install_reqs]

setup(name="tweepy",
      version=version,
      description="Twitter library for python",
      license="MIT",
      author="Joshua Roesslein",
      author_email="tweepy@googlegroups.com",
      url="http://github.com/tweepy/tweepy",
      packages=find_packages(exclude=['tests']),
      install_requires=reqs,
      keywords="twitter library",
      classifiers=[
          'Development Status :: 4 - Beta',
          'Topic :: Software Development :: Libraries',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
      ],
      zip_safe=True)

@@ -62,15 +62,9 @@
 t re
-, uuid
 %0A
+
 from
@@ -106,47 +106,8 @@
 ages
-%0Afrom pip.req import parse_requirements
 %0A%0AVE
@@ -388,131 +388,8 @@
 ))%0A%0A
-install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())%0Areqs = %5Bstr(req.req) for req in install_reqs%5D%0A%0A
 setu
@@ -697,12 +697,101 @@
 res=
-reqs
+%5B%0A        'requests%3E=2.4.3',%0A        'requests_oauthlib%3E=0.4.1',%0A        'six%3E=1.7.3'%0A      %5D
 ,%0A  

Delete pip parse requirements