Skip to content

Commit

Permalink
Enable publishing with Py312
Browse files Browse the repository at this point in the history
  • Loading branch information
mobiusklein committed Jul 2, 2024
1 parent a01dd1e commit 43b2090
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pythonpublish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Build wheels
run: python -m cibuildwheel --output-dir dist/
env:
CIBW_BUILD: "cp38* cp39* cp310* cp311*"
CIBW_BUILD: "cp38* cp39* cp310* cp311* cp312*"
CIBW_SKIP: "*_i686 *win32 *musllinux* pp*"
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014"
CIBW_TEST_REQUIRES: "pytest"
Expand Down
44 changes: 27 additions & 17 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,35 +199,45 @@ def status_msgs(*msgs):
print("Cannot determine version")


install_requires = [
"numpy>=2.0.0; python_version >= '3.9'",
"numpy; python_version < '3.9'",
"scipy",
"six",
]


def run_setup(include_cext=True):
setup(
name='ms_peak_picker',
description='A library to pick peaks from mass spectral data',
long_description='A library to pick peaks from mass spectral data',
name="ms_peak_picker",
description="A library to pick peaks from mass spectral data",
long_description="A library to pick peaks from mass spectral data",
version=version,
packages=find_packages(where='src'),
packages=find_packages(where="src"),
package_dir={"": "src"},
zip_safe=False,
install_requires=['numpy', "scipy", "six"],
install_requires=install_requires,
ext_modules=make_cextensions() if include_cext else None,
cmdclass=cmdclass,
author='Joshua Klein',
author="Joshua Klein",
author_email="[email protected]",
maintainer='Joshua Klein',
maintainer="Joshua Klein",
maintainer_email="[email protected]",
include_package_data=True,
classifiers=[
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Education',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Software Development :: Libraries'
"Intended Audience :: Science/Research",
"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 :: Education",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Software Development :: Libraries",
],
license='License :: OSI Approved :: Apache Software License')
license="License :: OSI Approved :: Apache Software License",
)


try:
Expand Down

0 comments on commit 43b2090

Please sign in to comment.