Skip to content

Commit

Permalink
Merge pull request #315 from VirtualPlanetaryLaboratory/download-arti…
Browse files Browse the repository at this point in the history
…fact

Made pip-install explicitly install setuptools to work with Python3.12.
  • Loading branch information
RoryBarnes authored Sep 6, 2024
2 parents 05d2b35 + 03e1470 commit 27c9837
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pip-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- name: Install cibuildwheel
run: |
python -m pip install -U pip
python -m pip install setuptools
python -m pip install cibuildwheel
- name: Build wheel on Linux
Expand Down
9 changes: 0 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
import os
import sys

# if sys.version_info >= (3, 12):
# # For Python 3.12 and above, use setuptools
# from setuptools.command.clean import clean
# else:
# # For Python versions below 3.12, use distutils
# from distutils.command.clean import clean

from glob import glob

from setuptools import Extension, find_packages, setup
from setuptools.command.build_ext import build_ext
from setuptools.command.develop import develop
Expand Down

0 comments on commit 27c9837

Please sign in to comment.