@@ -199,35 +199,45 @@ def status_msgs(*msgs):
199
199
print ("Cannot determine version" )
200
200
201
201
202
+ install_requires = [
203
+ "numpy>=2.0.0; python_version >= '3.9'" ,
204
+ "numpy; python_version < '3.9'" ,
205
+ "scipy" ,
206
+ "six" ,
207
+ ]
208
+
209
+
202
210
def run_setup (include_cext = True ):
203
211
setup (
204
- name = ' ms_peak_picker' ,
205
- description = ' A library to pick peaks from mass spectral data' ,
206
- long_description = ' A library to pick peaks from mass spectral data' ,
212
+ name = " ms_peak_picker" ,
213
+ description = " A library to pick peaks from mass spectral data" ,
214
+ long_description = " A library to pick peaks from mass spectral data" ,
207
215
version = version ,
208
- packages = find_packages (where = ' src' ),
216
+ packages = find_packages (where = " src" ),
209
217
package_dir = {"" : "src" },
210
218
zip_safe = False ,
211
- install_requires = [ 'numpy' , "scipy" , "six" ] ,
219
+ install_requires = install_requires ,
212
220
ext_modules = make_cextensions () if include_cext else None ,
213
221
cmdclass = cmdclass ,
214
- author = ' Joshua Klein' ,
222
+ author = " Joshua Klein" ,
215
223
216
- maintainer = ' Joshua Klein' ,
224
+ maintainer = " Joshua Klein" ,
217
225
maintainer_email = "[email protected] " ,
218
226
include_package_data = True ,
219
227
classifiers = [
220
- 'Intended Audience :: Science/Research' ,
221
- 'Programming Language :: Python :: 3.8' ,
222
- 'Programming Language :: Python :: 3.9' ,
223
- 'Programming Language :: Python :: 3.10' ,
224
- 'Programming Language :: Python :: 3.11' ,
225
- 'Topic :: Education' ,
226
- 'Topic :: Scientific/Engineering :: Bio-Informatics' ,
227
- 'Topic :: Scientific/Engineering :: Chemistry' ,
228
- 'Topic :: Software Development :: Libraries'
228
+ "Intended Audience :: Science/Research" ,
229
+ "Programming Language :: Python :: 3.8" ,
230
+ "Programming Language :: Python :: 3.9" ,
231
+ "Programming Language :: Python :: 3.10" ,
232
+ "Programming Language :: Python :: 3.11" ,
233
+ "Programming Language :: Python :: 3.12" ,
234
+ "Topic :: Education" ,
235
+ "Topic :: Scientific/Engineering :: Bio-Informatics" ,
236
+ "Topic :: Scientific/Engineering :: Chemistry" ,
237
+ "Topic :: Software Development :: Libraries" ,
229
238
],
230
- license = 'License :: OSI Approved :: Apache Software License' )
239
+ license = "License :: OSI Approved :: Apache Software License" ,
240
+ )
231
241
232
242
233
243
try :
0 commit comments