from setuptools import setup, find_packages
from sys import version_info
from pysendpulse import (
    __author__,
    __author_email__,
    __version__
)

install_requires = ['python3-memcached', ]

if version_info.major == 2:
    install_requires = ['python-memcached',]

setup(
    name='pysendpulse',
    version=__version__,
    packages=find_packages(),
    description='A simple SendPulse REST client library and example for Python',
    author=__author__,
    author_email=__author_email__,
    long_description=open('README.md').read(),
    url='https://github.com/sendpulse/sendpulse-rest-api-python',
    install_requires=install_requires
)

@@ -37,16 +37,50 @@
 ackages%0A
+from os.path import join, dirname%0A
 from sys
@@ -100,16 +100,16 @@
 on_info%0A
-
 from pys
@@ -298,16 +298,17 @@
 cached',
+ 
 %5D%0A%0Asetup
@@ -553,16 +553,40 @@
 on=open(
+join(dirname(__file__), 
 'README.
@@ -589,16 +589,17 @@
 DME.md')
+)
 .read(),

Update setup.py