From 8c2982dcd740cb8af9c0e6f2bf4fe22d8f417a4a Mon Sep 17 00:00:00 2001 From: Michael Beyeler Date: Sun, 4 Apr 2021 21:42:37 -0700 Subject: [PATCH] Release 0.7.0 (#361) * Prepare Release 0.7.0 * Build wheels using GH Actions * exclude pp27, pp35 * skip PyPy --- .github/workflows/wheels.yml | 32 +++++++++++++++++++ AUTHORS | 4 +++ azure-pipelines.yml | 62 ------------------------------------ pulse2percept/version.py | 2 +- setup.py | 2 +- 5 files changed, 38 insertions(+), 64 deletions(-) create mode 100644 .github/workflows/wheels.yml delete mode 100644 azure-pipelines.yml diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml new file mode 100644 index 00000000..66ccb546 --- /dev/null +++ b/.github/workflows/wheels.yml @@ -0,0 +1,32 @@ +name: Wheels + +on: + push: + branches: + - master + tags: + - v* + pull_request: + branches: + - master + +jobs: + build_wheels: + name: Build wheels on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-20.04, windows-2019, macos-10.15] + + steps: + - uses: actions/checkout@v2 + + - name: Build wheels + uses: joerick/cibuildwheel@v1.10.0 + env: + CIBW_BEFORE_BUILD: "pip install -r requirements.txt && pip install -e ." + CIBW_SKIP: "cp27-* cp35-* pp*" + + - uses: actions/upload-artifact@v2 + with: + path: ./wheelhouse/*.whl diff --git a/AUTHORS b/AUTHORS index 4c46f2bf..1a79e294 100644 --- a/AUTHORS +++ b/AUTHORS @@ -12,13 +12,17 @@ pulse2percept that much better: Bliss, Jake (University of California, Santa Barbara, CA) Boynton, Geoffrey M. (University of Washington, Seattle, WA) Contier, Oliver (Otto-von-Guericke University, Magdeburg, Germany) + Crowley, Conrad (Cork, Ireland) Fine, Ione (University of Washington, Seattle, WA) Finn, Kate (University of Michigan, Ann Arbor, MI) + Gan, Emma (Johns Hopkins University, Baltimore, MD) George, Gareth (University of California, Santa Barbara, CA) Ghaffari, Dorsa H. (University of Michigan, Ann Arbor, MI) + Granley, Jacob (University of California, Santa Barbara, CA) Kasowski, Justin (University of California, Santa Barbara, CA) Lin, Hongzhen (University of California, Santa Barbara, CA) Luntzel, Jon F. (University of Washington, Seattle, WA) + Mizrahi, Ori (University of California, Santa Barbara, CA) Nguyen, Dana (University of California, Santa Barbara, CA) Raghulan, Rashi (University of California, Santa Barbara, CA) Rokem, Ariel (University of Washington, Seattle, WA) diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index b82bb3cd..00000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,62 +0,0 @@ -trigger: - # Whenever someone pushes to master: - branches: - include: - - master - # Whenever a tag is pushed: - tags: - include: - - v* - -pr: -- master -- develop - -variables: - # Install p2p in Docker container - install_p2p: "pip install -r requirements.txt && pip install -e ." - CIBW_BEFORE_BUILD: $(install_p2p) - # On Linux, need to install Matplotlib depedencies in Docker container. - # Also need Cython/NumPy before installing all the other requirements, - # because skimage uses NumPy in their setup.py: - CIBW_BEFORE_BUILD_LINUX: "yum -y install freetype-devel pkgconfig libpng-devel && pip install Cython numpy && $(install_p2p)" - # Skip building on Python 2.7 on all platforms - CIBW_SKIP: "cp27-* cp35-*" - -jobs: -- job: linux - pool: {vmImage: 'Ubuntu-16.04'} - steps: - - task: UsePythonVersion@0 - inputs: - versionSpec: '3.6' - - bash: | - python -m pip install --upgrade pip - pip install cibuildwheel==1.0.0 - cibuildwheel --output-dir wheelhouse . - - task: PublishBuildArtifacts@1 - inputs: {pathtoPublish: 'wheelhouse'} -- job: macos - pool: {vmImage: 'macOS-10.14'} - steps: - - task: UsePythonVersion@0 - inputs: - versionSpec: '3.6' - - bash: | - python -m pip install --upgrade pip - pip install cibuildwheel==1.0.0 - cibuildwheel --output-dir wheelhouse . - - task: PublishBuildArtifacts@1 - inputs: {pathtoPublish: 'wheelhouse'} -- job: windows - pool: {vmImage: 'vs2017-win2016'} - steps: - - task: UsePythonVersion@0 - inputs: - versionSpec: '3.6' - - bash: | - python -m pip install --upgrade pip - pip install cibuildwheel==1.0.0 - cibuildwheel --output-dir wheelhouse . - - task: PublishBuildArtifacts@1 - inputs: {pathtoPublish: 'wheelhouse'} diff --git a/pulse2percept/version.py b/pulse2percept/version.py index 06f971e2..a71c5c7f 100644 --- a/pulse2percept/version.py +++ b/pulse2percept/version.py @@ -1 +1 @@ -__version__ = '0.7.0.dev0' +__version__ = '0.7.0' diff --git a/setup.py b/setup.py index 29d5a934..97f6d96b 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ with open('README.rst') as f: LONG_DESCRIPTION = f.read() MAINTAINER = 'Michael Beyeler, Ariel Rokem' -MAINTAINER_EMAIL = 'mbeyeler@uw.edu, arokem@gmail.com' +MAINTAINER_EMAIL = 'mbeyeler@ucsb.edu, arokem@gmail.com' URL = 'https://github.com/pulse2percept/pulse2percept' DOWNLOAD_URL = 'https://pypi.org/project/pulse2percept/#files' LICENSE = 'new BDS'