File: setup.py

package info (click to toggle)
python-duo-client 5.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 768 kB
  • sloc: python: 7,105; sh: 6; makefile: 4
file content (46 lines) | stat: -rw-r--r-- 1,333 bytes parent folder | download
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
from setuptools import setup

import os.path

import duo_client

requirements_filename = os.path.join(
    os.path.dirname(os.path.abspath(__file__)), "requirements.txt"
)

with open(requirements_filename) as fd:
    install_requires = [i.strip() for i in fd.readlines()]

requirements_dev_filename = os.path.join(
    os.path.dirname(os.path.abspath(__file__)), "requirements-dev.txt"
)

with open(requirements_dev_filename) as fd:
    tests_require = [i.strip() for i in fd.readlines()]

long_description_filename = os.path.join(
    os.path.dirname(os.path.abspath(__file__)), "README.md"
)

with open(long_description_filename) as fd:
    long_description = fd.read()

setup(
    name="duo_client",
    version=duo_client.__version__,
    description="Reference client for Duo Security APIs",
    long_description=long_description,
    long_description_content_type="text/markdown",
    author="Duo Security, Inc.",
    author_email="support@duosecurity.com",
    url="https://github.com/duosecurity/duo_client_python",
    packages=["duo_client", "duo_client.logs"],
    package_data={"duo_client": ["ca_certs.pem"]},
    license="BSD",
    classifiers=[
        "Programming Language :: Python",
        "License :: OSI Approved :: BSD License",
    ],
    install_requires=install_requires,
    tests_require=tests_require,
)