cuml-cu12 23.12.0__tar.gz → 24.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cuml-cu12
3
- Version: 23.12.0
3
+ Version: 24.2.0
4
4
  Summary: A fake package to warn the user they are not installing the correct package.
5
5
  Home-page: https://github.com/NVIDIA
6
6
  Download-URL: https://github.com/NVIDIA
@@ -28,6 +28,7 @@ Classifier: Programming Language :: Python :: 3.8
28
28
  Classifier: Environment :: Console
29
29
  Classifier: Natural Language :: English
30
30
  Classifier: Operating System :: OS Independent
31
+ Requires-Python: >=3.9
31
32
  License-File: LICENSE.md
32
33
 
33
34
  CUML-CU12
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cuml-cu12
3
- Version: 23.12.0
3
+ Version: 24.2.0
4
4
  Summary: A fake package to warn the user they are not installing the correct package.
5
5
  Home-page: https://github.com/NVIDIA
6
6
  Download-URL: https://github.com/NVIDIA
@@ -28,6 +28,7 @@ Classifier: Programming Language :: Python :: 3.8
28
28
  Classifier: Environment :: Console
29
29
  Classifier: Natural Language :: English
30
30
  Classifier: Operating System :: OS Independent
31
+ Requires-Python: >=3.9
31
32
  License-File: LICENSE.md
32
33
 
33
34
  CUML-CU12
@@ -29,11 +29,18 @@ from setuptools import setup
29
29
  BASE_DIR = os.path.abspath(os.path.dirname(__file__))
30
30
 
31
31
 
32
- def build_package(pkg_name, pkg_version):
32
+ def build_package(pkg_name, pkg_version, python_requires=""):
33
33
 
34
34
  with codecs.open(os.path.join(BASE_DIR, 'README.rst'), encoding='utf-8') as f:
35
35
  long_description = f.read()
36
36
 
37
+ variable_params = {}
38
+
39
+ python_requires=python_requires.strip('"')
40
+
41
+ if len(python_requires) > 0:
42
+ variable_params.update({"python_requires" : python_requires})
43
+
37
44
  setup(
38
45
  name=pkg_name,
39
46
  version=pkg_version,
@@ -75,18 +82,22 @@ def build_package(pkg_name, pkg_version):
75
82
  ],
76
83
  platforms=["Linux"],
77
84
  keywords='nvidia, deep learning, machine learning, supervised learning, unsupervised learning, reinforcement learning, logging',
85
+
86
+ **variable_params,
78
87
  )
79
88
 
80
- if len(sys.argv) != 4:
89
+ if len(sys.argv) != 5:
81
90
  raise RuntimeError("Bad params")
82
91
 
83
92
  action=sys.argv[1]
84
93
  package_name=sys.argv[2]
85
94
  package_version=sys.argv[3]
95
+ python_requires=sys.argv[4]
86
96
 
87
97
  # Need to remove the custom options or distutils will get sad
88
98
  sys.argv.remove(package_name)
89
99
  sys.argv.remove(package_version)
100
+ sys.argv.remove(python_requires)
90
101
 
91
102
  if action == "sdist":
92
103
 
@@ -131,7 +142,7 @@ if action == "sdist":
131
142
  print(f"\n[*] Building {package_name} ...")
132
143
 
133
144
  with setup_sdist_environment(package_name):
134
- build_package(package_name, package_version)
145
+ build_package(package_name, package_version, python_requires)
135
146
 
136
147
  else:
137
148
  raise RuntimeError(open("ERROR.txt", "r").read())
File without changes
File without changes
File without changes
File without changes
File without changes