Cutting a new releaseΒΆ

pulse2percept wheels are built using Azure Pipelines to support the following:

  • Python 3.5 - 3.7
  • Linux: manylinux1, manylinux2010 for i686 and x86_64
  • macOS: OS X 10.6 and up
  • Windows: Server 2016 with VS 2017 for win-32 and amd64 (closes issue #88)

Wheels are built using the cibuildwheel package. Once their PR194 is merged, we can start automating the PyPI upload whenever a tag is pushed using GitHub Actions.

Until then, the artifacts need to be downloaded from Azure Pipelines. The following recipe will upload the files to PyPI:

cd pulse2percept

# Clear out your 'dist' folder.
rm -rf dist
# Make a source distribution
python setup.py sdist

# Go and download your wheel files from wherever you put them. e.g. your CI
# provider can be configured to store them for you. Put them all into the
# 'dist' folder.
wget ...

# Upload using 'twine' (you may need to 'pip install twine')
twine upload dist/*

# Or for TestPyPI:
twine upload --repository-url https://test.pypi.org/legacy/ dist/*