Skip to content

Commit

Permalink
Made pip-install explicitly install setuptools to work with Python3.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rory Barnes committed Sep 6, 2024
1 parent 3480eb5 commit 03e1470
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 03e1470

Please sign in to comment.