Skip to content

Commit

Permalink
Stop using pip.req
Browse files Browse the repository at this point in the history
  • Loading branch information
thumbtack-eee committed Jan 16, 2015
1 parent e1cd4af commit 2b8dba1
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from setuptools import setup, find_packages
from pip.req import parse_requirements
import re
import io
import os.path
Expand All @@ -16,11 +15,7 @@
version = match.group(1)
break

# get requirements from Pip-style requirements.txt
install_requires = [str(req.req) for req
in parse_requirements(os.path.join(here, 'requirements.txt'))]

# get long from README.rst
# get long desc from README.rst
with io.open(os.path.join(here, 'README.rst')) as f:
long_description = f.read()

Expand All @@ -33,7 +28,9 @@
author_email='[email protected]',
url='https://github.com/SteelPangolin/genderize',
packages=find_packages(),
install_requires=install_requires,
install_requires=[
'requests >= 1.0.0',
],
include_package_data=True,
classifiers=[
'License :: OSI Approved :: MIT License',
Expand Down

0 comments on commit 2b8dba1

Please sign in to comment.