Commit 54adc6b7 authored by Aaron1011's avatar Aaron1011
Browse files

Merge pull request #452 from pilbot/fix-setup

Fix to not attempt importing uninstalled libraries.
parents 437e19ac e966f5d9
#!/usr/bin/env python
#from distutils.core import setup
import re
from setuptools import setup, find_packages
from tweepy import __version__
from pip.req import parse_requirements
VERSIONFILE = "tweepy/"
ver_file = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo =, ver_file, re.M)
if mo:
version =
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
install_reqs = parse_requirements('requirements.txt')
reqs = [str(req.req) for req in install_reqs]
description="Twitter library for python",
author="Joshua Roesslein",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment