File tree 2 files changed +18
-4
lines changed
2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 1
1
PySCF 2.6.2 (2024-06-19)
2
2
------------------------
3
3
* Fixes
4
- - Compatibility issues due for NumPy 2.0 release.
4
+ - Compatibility issues for NumPy 2.0 release.
5
5
6
6
7
7
PySCF 2.6.1 (2024-06-17)
@@ -10,7 +10,7 @@ PySCF 2.6.1 (2024-06-17)
10
10
- Allow for custom options for opening h5py file.
11
11
- Linear dependency threshold for density fitting auxiliary basis.
12
12
* Fixes
13
- - Compatibility issues due for NumPy 2.0 release.
13
+ - Compatibility issues due to NumPy 2.0 release.
14
14
15
15
16
16
PySCF 2.6.0 (2024-06-01)
Original file line number Diff line number Diff line change @@ -83,13 +83,27 @@ def run(self):
83
83
84
84
# build_py will produce plat_name = 'any'. Patch the bdist_wheel to change the
85
85
# platform tag because the C extensions are platform dependent.
86
+ # For setuptools<70
86
87
from wheel .bdist_wheel import bdist_wheel
87
- initialize_options = bdist_wheel .initialize_options
88
+ initialize_options_1 = bdist_wheel .initialize_options
88
89
def initialize_with_default_plat_name (self ):
89
- initialize_options (self )
90
+ initialize_options_1 (self )
90
91
self .plat_name = get_platform ()
92
+ self .plat_name_supplied = True
91
93
bdist_wheel .initialize_options = initialize_with_default_plat_name
92
94
95
+ # For setuptools>=70
96
+ try :
97
+ from setuptools .command .bdist_wheel import bdist_wheel
98
+ initialize_options_2 = bdist_wheel .initialize_options
99
+ def initialize_with_default_plat_name (self ):
100
+ initialize_options_2 (self )
101
+ self .plat_name = get_platform ()
102
+ self .plat_name_supplied = True
103
+ bdist_wheel .initialize_options = initialize_with_default_plat_name
104
+ except ImportError :
105
+ pass
106
+
93
107
# scipy bugs
94
108
# https://github.com/scipy/scipy/issues/12533
95
109
_scipy_version = 'scipy!=1.5.0,!=1.5.1'
You can’t perform that action at this time.
0 commit comments