-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathsetup.py
More file actions
69 lines (61 loc) · 2.01 KB
/
setup.py
File metadata and controls
69 lines (61 loc) · 2.01 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
import os
from importlib import util
from setuptools import find_namespace_packages, setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
spec = util.spec_from_file_location("prismacloud.cli.version", os.path.join("prismacloud", "cli", "version.py"))
# noinspection PyUnresolvedReferences
mod = util.module_from_spec(spec)
spec.loader.exec_module(mod) # type: ignore
version = mod.version # type: ignore
setup(
extras_require={},
install_requires=[
"api-client",
"click",
"click_completion",
"click_help_colors",
"coloredlogs",
"jsondiff",
"pandas",
"requests",
"tabulate",
"colorama",
"update_checker",
"pydantic-settings",
"pydantic",
"datetime",
"pyyaml",
"prismacloud-api==5.2.24",
"pytest",
"pytest-benchmark",
],
name="prismacloud-cli",
version=version,
python_requires=">=3.7",
author="Steven de Boer, Simon Melotte, Tom Kishel",
author_email="stdeboer@paloaltonetworks.com, smelotte@paloaltonetworks.com, tkishel@paloaltonetworks.com",
description=("Prisma Cloud CLI"),
license="BSD",
keywords="prisma cloud cli",
url="https://github.com/PaloAltoNetworks/prismacloud-cli",
packages=find_namespace_packages(),
long_description=read("README.md"),
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Topic :: Utilities",
],
entry_points="""
[console_scripts]
pc=prismacloud.cli:cli
""",
)