Skip to content

Commit

Permalink
Merge pull request #5 from ByteInternet/improve_setup
Browse files Browse the repository at this point in the history
Improve setup.py
  • Loading branch information
Bono de Visser authored Mar 15, 2019
2 parents 03dd9a7 + ada7bf3 commit 2e3a788
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
#!/usr/bin/env python
from setuptools import setup, find_packages
from os.path import abspath, dirname, join


def readfile(filename):
path = join(dirname(abspath(__file__)), filename)
with open(path, 'rt') as filehandle:
return filehandle.read()


setup(
name='eventsender',
version='1.1',
version='1.1.1',
packages=find_packages(exclude=['tests*']),
url='https://github.com/ByteInternet/eventsender',
author='Byte B.V.',
Expand All @@ -21,5 +30,7 @@
],
keywords='amqp rabbitmq events eventsender',
description='RabbitMQ event sender',
long_description=readfile('README.rst'),
long_description_content_type='text/x-rst',
install_requires=['pika==0.13.0'],
)

0 comments on commit 2e3a788

Please sign in to comment.