Skip to content

Commit

Permalink
Merge pull request #11 from quintoandar/update-requeriments-install
Browse files Browse the repository at this point in the history
Change requirements install method
  • Loading branch information
UlyssesCB authored May 4, 2020
2 parents 5ebb3fc + 5ac0b93 commit 5efdea1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
#!/usr/bin/env python
import sys
from pip._internal.req import parse_requirements
from setuptools import setup, find_packages

if sys.version_info < (3, 5):
raise Exception("Only Python 3.5+ is supported")

raw_requirements = parse_requirements("requirements.txt", session=False)
requirements = [str(ir.req) for ir in raw_requirements]

with open("README.md", "r") as fh:
long_description = fh.read()

Expand All @@ -22,7 +18,11 @@
long_description_content_type="text/markdown",
url="https://github.com/quintoandar/kafka-python",
packages=find_packages(exclude=["ez_setup", "examples", "tests", "release"]),
install_requires=requirements,
install_requires=[
"redis==2.10.6",
"retrying==1.3.3",
"kafka-python==2.0.1",
],
include_package_data=True,
zip_safe=False,
classifiers=[
Expand Down

0 comments on commit 5efdea1

Please sign in to comment.