Skip to content

Commit 03e1470

Browse files
author
Rory Barnes
committed
Made pip-install explicitly install setuptools to work with Python3.12.
1 parent 3480eb5 commit 03e1470

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

.github/workflows/pip-install.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
- name: Install cibuildwheel
3333
run: |
3434
python -m pip install -U pip
35+
python -m pip install setuptools
3536
python -m pip install cibuildwheel
3637
3738
- name: Build wheel on Linux

setup.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
import os
22
import sys
3-
4-
# if sys.version_info >= (3, 12):
5-
# # For Python 3.12 and above, use setuptools
6-
# from setuptools.command.clean import clean
7-
# else:
8-
# # For Python versions below 3.12, use distutils
9-
# from distutils.command.clean import clean
10-
113
from glob import glob
12-
134
from setuptools import Extension, find_packages, setup
145
from setuptools.command.build_ext import build_ext
156
from setuptools.command.develop import develop

0 commit comments

Comments
 (0)