-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (36 loc) · 1.82 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
"""
Mail-in-a-Box
Mail-in-a-Box API HTTP specification. # Introduction This API is documented in [**OpenAPI format**](http://spec.openapis.org/oas/v3.0.3). ([View the full HTTP specification](https://raw.githubusercontent.com/mail-in-a-box/mailinabox/api-spec/api/mailinabox.yml).) All endpoints are relative to `https://{host}/admin` and are secured with [`Basic Access` authentication](https://en.wikipedia.org/wiki/Basic_access_authentication). If you have multi-factor authentication enabled, authentication with a `user:password` combination will fail unless a valid OTP is supplied via the `x-auth-token` header. Authentication via a `user:user_key` pair is possible without the header being present. # noqa: E501
The version of the OpenAPI document: 0.51.0
Generated by: https://openapi-generator.tech
"""
from setuptools import setup, find_packages # noqa: H301
from pathlib import Path # noqa E402
CURRENT_DIR = Path(__file__).parent
def get_long_description():
return (CURRENT_DIR / "README.md").read_text(encoding="utf8")
NAME = "mailinabox-api"
VERSION = "0.51.1"
# 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"]
setup(
name=NAME,
version=VERSION,
description="Mail-in-a-Box",
author="Richard Willis",
author_email="willis.rh@gmail.com",
url="https://github.com/badsyntax/mailinabox-api-py",
keywords=["mailinabox", "mail-in-a-box", "Mail-in-a-Box"],
install_requires=REQUIRES,
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
license="CC0 1.0 Universal",
long_description=get_long_description(),
long_description_content_type="text/markdown",
)