-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
48 lines (39 loc) · 1.29 KB
/
setup.py
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# coding: utf-8
"""
Fax.Plus REST API
Visit https://apidoc.fax.plus for more information.
© Alohi SA (Geneva, Switzerland)
https://www.alohi.com
Contact: [email protected]
"""
from setuptools import setup, find_packages # noqa: H301
from os import path
import re
NAME = "faxplus-api"
VERSION = "3.0.4"
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"]
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
long_description = re.sub(r'### Documentation for API Endpoints.*#', '#', long_description, flags=re.S)
long_description = re.sub(r'### Documentation For Models.*#', '#', long_description, flags=re.S)
setup(
name=NAME,
version=VERSION,
description="Fax.Plus REST API",
author="Alohi SA",
author_email="[email protected]",
url="https://github.com/alohi/faxplus-python",
keywords=["Swagger", "Fax.Plus REST API"],
install_requires=REQUIRES,
packages=find_packages(),
include_package_data=True,
long_description=long_description,
long_description_content_type='text/markdown'
)