Skip to content
Snippets Groups Projects
Commit 5bcf3c33 authored by Fynn Becker's avatar Fynn Becker :crab:
Browse files

Remove pip magic since it isn't public API

parent 92258d23
No related branches found
No related tags found
No related merge requests found
pika>=0.11
import os
from setuptools import setup, find_packages
from pip.req.req_file import parse_requirements
from pip.download import PipSession
README = open(os.path.join(os.path.dirname(__file__), "README.md")).read()
......@@ -9,13 +7,6 @@ README = open(os.path.join(os.path.dirname(__file__), "README.md")).read()
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
def get_requirements_list():
filename = os.path.join(os.path.dirname(__file__), "requirements.txt")
objects = list(parse_requirements(filename, session=PipSession()))
strings = [str(o.req) for o in objects]
return strings
setup(
name='pikatasks',
version='1.0',
......@@ -28,7 +19,9 @@ setup(
author='Art Lukyanchyk',
author_email='artiom.lukyanchyk@hs-hannover.de',
zip_safe=False,
install_requires=get_requirements_list(),
install_requires=[
'pika>=0.11'
],
classifiers=[
'Environment :: Server',
'Framework :: pika',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment