File: add-setup.py.patch

package info (click to toggle)
ilorest 7.0.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,884 kB
  • sloc: python: 36,313; sh: 2,853; javascript: 482; makefile: 189; ansic: 186; lisp: 137
file content (126 lines) | stat: -rw-r--r-- 3,671 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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
Description: Add setup.cfg and setup.py
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2022-11-23

--- /dev/null	2022-11-22 18:51:31.574700017 +0100
+++ b/setup.py	2022-11-23 09:25:13.999563620 +0100
@@ -1,58 +1,10 @@
-from setuptools import find_packages, setup
-import site
+import setuptools
 
-site_packages = site.getsitepackages()
+try:
+    import multiprocessing  # noqa
+except ImportError:
+    pass
 
-extras = {}
-
-setup(name='ilorest',
-      version='6.2.0.0',
-      description='HPE iLORest Tool',
-      author='Hewlett Packard Enterprise',
-      author_email='rajeevalochana.kallur@hpe.com',
-      extras_require=extras,
-      classifiers=[
-          'Development Status :: 5 - Production/Stable',
-          'License :: OSI Approved :: Apache Software License',
-          'Programming Language :: Python :: 3.6',
-          'Programming Language :: Python :: 3.8',
-          'Programming Language :: Python :: 3.9',
-          'Programming Language :: Python :: 3.10',
-          'Programming Language :: Python :: 3.11',
-          'Programming Language :: Python :: 3.12',
-          'Topic :: Communications'
-      ],
-      keywords='Hewlett Packard Enterprise',
-      url='https://github.com/HewlettPackard/python-redfish-utility',
-      packages=find_packages('.', exclude=["tests", "docs"]),
-      package_dir={'': '.'},
-      package_data={"ilorest.chiflibrary": ["ilorest_chif.dll", "ilorest_chif.so"]},
-      entry_points={
-        'console_scripts': [
-          'ilorest = ilorest.rdmc:ilorestcommand',
-        ],
-      },
-      install_requires=[
-          'urllib3 >= 1.26.2',
-          'pyaes >= 1.6.1',
-          'colorama >= 0.4.4',
-          'jsonpointer >= 2.0',
-          'six >= 1.15.0',
-          'ply',
-          'requests',
-          'decorator >= 4.4.2',
-          'jsonpatch >= 1.28',
-          'jsonpath-rw >= 1.4.0',
-          'setproctitle >= 1.1.8; platform_system == "Linux"',
-          'jsondiff >= 1.2.0',
-          'tabulate >= 0.8.7',
-          'prompt_toolkit',
-          'certifi >= 2020.12.5',
-          'pywin32; platform_system == "Windows"',
-          'wcwidth >= 0.2.5',
-          'pyudev',
-          'future',
-          'enum; python_version <= "2.7.19"',
-          'futures; python_version <= "2.7.19"',
-          'python-ilorest-library >= 6.0.0.0',
-      ])
+setuptools.setup(
+    setup_requires=['pbr>=2.0.0'],
+    pbr=True)
--- /dev/null	2022-11-22 18:51:31.574700017 +0100
+++ b/setup.cfg	2022-11-23 09:25:13.999563620 +0100
@@ -1,27 +1,20 @@
-[isort]
-profile = black
-[pycodestyle]
-ignore = E203
-max_line_length = 120
-[pylint]
-max-line-length = 120
-[flake8]
-max-line-length = 120
-extend-ignore = E203,E722,C901,E731,W605, F841
-exclude =
-	.git,
-    packaging,
-    __pycache__,
-	build,
-	dist,
-	docs,
-	ilorest/redfish
-	tests,
-	ilorest/extensions/_hidden_commands/AutomaticTestingCommand.py,
-max-complexity = 20
+[metadata]
+name = ilorest
+summary = ilorest utility
+author = HPE
+author-email = hpe@hpe.com
+classifier =
+    Intended Audience :: Information Technology
+    Intended Audience :: System Administrators
+    License :: OSI Approved :: Apache Software License
+    Operating System :: POSIX :: Linux
+    Programming Language :: Python
+    Programming Language :: Python :: 3
 
-[bdist_wheel]
-universal=1
+[files]
+packages =
+    ilorest
 
-[metadata]
-license_files = LICENSE
+[entry_points]
+console_scripts =
+    ilorest = ilorest.rdmc:ilorestcommand
--- /dev/null	2024-09-24 08:49:01.800060131 +0200
+++ b/MANIFEST.in	2024-09-24 14:48:19.444901734 +0200
@@ -0,0 +1 @@
+recursive-include ilorest *.py