Skip to main content
Sign in
Snippets Groups Projects
Commit 73f20f7c authored by Art's avatar Art :lizard:
Browse files

Add setup script.

parent 2d13d6b0
No related branches found
No related tags found
No related merge requests found
...@@ -4,3 +4,4 @@ ...@@ -4,3 +4,4 @@
build/ build/
*.egg-info/ *.egg-info/
dist/ dist/
pika>=0.11,<1.0
setup.py 0 → 100644
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()
# allow setup.py to be run from any path
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',
packages=find_packages(),
include_package_data=True,
license='BSD',
description='Minimal RPC with pika. Skookum as frig.',
long_description=README,
url='https://lab.it.hs-hannover.de/django/pikatasks',
author='Art Lukyanchyk',
author_email='artiom.lukyanchyk@hs-hannover.de',
zip_safe=False,
install_requires=get_requirements_list(),
classifiers=[
'Environment :: Server',
'Framework :: pika',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.4',
'Topic :: System :: Networking',
'Topic :: Software Development :: Libraries',
],
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment