-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (24 loc) · 817 Bytes
/
setup.py
File metadata and controls
28 lines (24 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from setuptools import setup, find_packages
from sys import version_info
from pysendpulse import (
__author__,
__author_email__,
__version__
)
install_requires = ['python3-memcached', 'requests', 'deprecated']
if version_info.major == 2:
install_requires = ['python-memcached', 'requests', 'simplejson']
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='pysendpulse',
version=__version__,
packages=find_packages(),
description='A simple SendPulse REST client library and example for Python',
long_description=long_description,
long_description_content_type="text/markdown",
author=__author__,
author_email=__author_email__,
url='https://github.com/sendpulse/sendpulse-rest-api-python',
install_requires=install_requires
)