How to release

Here is the release process for fretwork:

  • bump the version on a PR (fretwork/version.py and source/conf.py):

    pip install bumpversion
    bumpversion --allow-dirty part
    
  • make a tag

  • make wheels (see below)

  • upload sources and wheels on GitHub in a new release.

Linux

  1. Install dependencies:
  • SDL 1.2
  • SDL_mixer
  • libsoundtouch
  • libvorbisfile
  • pkg-config
  • portmidi
  1. Install Python dependencies:

    pip install -r requirements.txt
    
  2. make a wheel:

    python2 setup.py sdist
    python2 setup.py bdist_wheel --inplace
    
  3. repeat 3 and 4 with python3.

Windows (32 bits)

Python 2.7

Python 3.6

All

  • Go to the fretwork directory

  • Copy the Windows dependency pack into win32

  • Install some python dependencies:

    pip.exe install setuptools wheel
    
  • Make a wheel:

    python.exe setup.py sdist
    python.exe setup.py bdist_wheel