A python library/application to play, compose and interface with virtual and real pianos using MIDI.
- Run the unittests:
make test
- Build the package as a wheel:
make build
- Publish the package to pypi
make publish
- Make sure prerequisites are installed
- Clone the git repo:
git clone https://github.com/PeterPyPan/pianopy
- Use make to setup the dev environment:
# This sets up a venv in ./.venv using poetry and installs the pre-commit hooks.
make setup
-
Install
poetry
Verify the poetry installation using:
poetry --version
Installation instructions: https://python-poetry.org/docs/#installation. -
Install
make
Verify the make installation using:
make --version
# Installation for OSX
# remove previous installation of command line tools
rm -rf /Library/Developer/CommandLineTools/
# install command line tools
xcode-select --install
# setup command line tools
sudo xcode-select --switch /Library/Developer/CommandLineTools/