-
Notifications
You must be signed in to change notification settings - Fork 162
Expand file tree
/
Copy pathsetup.py
More file actions
88 lines (79 loc) · 3.04 KB
/
setup.py
File metadata and controls
88 lines (79 loc) · 3.04 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# The Okta software accompanied by this notice is provided pursuant to the following terms:
# Copyright © 2025-Present, Okta, Inc.
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the
# License.
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and limitations under the License.
# coding: utf-8
"""
Okta Admin Management
Allows customers to easily access the Okta Management APIs
The version of the OpenAPI document: 5.1.0
Contact: devex-public@okta.com
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
import os
from setuptools import setup, find_packages # noqa: H301
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "okta"
PYTHON_REQUIRES = ">=3.10"
REQUIRES = [
"aenum >= 3.1.11",
"aiohttp >= 3.12.14",
"blinker >= 1.9.0",
'jwcrypto >= 1.5.6',
"pycryptodomex >= 3.23.0",
"pydantic >= 2.11.3",
"pydash >= 8.0.5",
"PyJWT >= 2.10.1",
"python-dateutil >= 2.9.0.post0",
"PyYAML >= 6.0.2",
"requests >= 2.32.3",
"xmltodict >= 0.14.2",
]
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(
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development :: Libraries :: Python Modules",
],
name=NAME,
version="3.1.0",
description="Python SDK for the Okta Management API",
author="Okta, Inc.",
author_email="developer-community-products@okta.com",
url="https://github.com/okta/okta-sdk-python",
keywords=["OpenAPI", "OpenAPI-Generator", "Okta Admin Management"],
install_requires=REQUIRES,
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
license="Apache-2.0",
long_description_content_type="text/markdown",
long_description=open("LONG_DESCRIPTION.md").read(),
test_suite="tests",
package_data={"okta": ["py.typed"]},
python_requires=PYTHON_REQUIRES,
)