forked from PaloAltoNetworks/prismacloud-api-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (34 loc) · 1.07 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
import importlib
import os
import setuptools
with open('README.md', 'r') as fh:
long_description = fh.read()
spec = importlib.util.spec_from_file_location(
'prismacloud.api.version', os.path.join('prismacloud', 'api', 'version.py')
)
mod = importlib.util.module_from_spec(spec)
spec.loader.exec_module(mod)
version = mod.version
setuptools.setup(
name='prismacloud-api',
version=version,
author='Tom Kishel',
author_email='[email protected]',
description='Prisma Cloud API SDK for Python',
keywords="prisma cloud api",
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/PaloAltoNetworks/prismacloud-api-python',
packages=setuptools.find_namespace_packages(exclude=['scripts']),
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Utilities'
],
install_requires=[
'requests',
'update_checker'
],
python_requires='>=3.6'
)