Skip to content

Commit

Permalink
Add setuptools notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoforms committed Dec 4, 2023
1 parent 3311941 commit c6d4453
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
sudo apt-get update -y
sudo apt-get install libasound2-dev libsoundio-dev libsndfile1-dev fftw3-dev -y
sudo apt-get install python3 python3-setuptools python3-pip
# Requires setuptools >= 62.1 for `python setup.py test`, as earlier versions
# used a different build path to the .so file as located in tests/__init__.py
sudo pip3 install -U pytest numpy scipy setuptools>=62.1.0
- name: Configure
run: mkdir build && cd build && cmake ..
Expand Down
1 change: 1 addition & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
def distutils_dir_name(dir_name):
"""
Returns the name of a distutils build directory
Requires setuptools >= 62.1.0
https://stackoverflow.com/a/14369968/1819404
"""
f = "{dirname}.{platform}-{cache_tag}"
Expand Down

0 comments on commit c6d4453

Please sign in to comment.