-
Notifications
You must be signed in to change notification settings - Fork 142
/
setup.py
50 lines (46 loc) · 1.52 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
49
50
from setuptools import setup, find_packages
import os
def get_version():
# Get version number from VERSION file
with open(os.path.join(os.path.dirname(__file__), "okta", "__init__.py")) \
as version_file:
# File has format: __version__ = '{version_number}'
line = version_file.read().split("=")
version_number = line[1].strip().replace("'", "")
return version_number
setup(
name="okta",
version=get_version(),
author="Okta, Inc.",
author_email="devex@okta.com",
url="https://github.com/okta/okta-sdk-python",
license="Apache License 2.0",
description="Python SDK for the Okta Management API",
long_description=open("LONG_DESCRIPTION.md").read(),
test_suite="tests",
packages=find_packages(exclude=("tests",)),
python_requires=">=3.7",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development :: Libraries :: Python Modules",
],
install_requires=[
"aiohttp",
"flatdict",
"pyyaml",
"xmltodict",
"yarl",
"pycryptodomex",
"jwcrypto",
"pyjwt",
"aenum==3.1.11",
"pydash"
]
)