-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add tool for editing package version * Bump version to 0.3.1rc1
- Loading branch information
Showing
7 changed files
with
41 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Maintainer: Steffen Schneider <[email protected]> | ||
pkgname=python-cebra | ||
_pkgname=cebra | ||
pkgver=0.3.0 | ||
pkgver=0.3.1rc1 | ||
pkgrel=1 | ||
pkgdesc="Consistent Embeddings of high-dimensional Recordings using Auxiliary variables" | ||
url="https://cebra.ai" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,5 +45,6 @@ It can jointly use behavioral and neural data in a hypothesis- or discovery-driv | |
[Learnable latent embeddings for joint behavioral and neural analysis.](https://arxiv.org/abs/2204.00673) | ||
Steffen Schneider*, Jin Hwa Lee* and Mackenzie Weygandt Mathis | ||
|
||
# License | ||
# License | ||
|
||
- CEBRA is released for academic use only (please read the license file). If this license is not appropriate for your application, please contact Prof. Mackenzie W. Mathis ([email protected]) for a commercial use license. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/bash | ||
# Bump the CEBRA version to the specified value. | ||
# Edits all relevant files at once. | ||
# | ||
# Usage: | ||
# tools/bump_version.sh 0.3.1rc1 | ||
|
||
version=$1 | ||
if [ -z ${version} ]; then | ||
>&1 echo "Specify a version number." | ||
>&1 echo "Usage:" | ||
>&1 echo "tools/bump_version.sh <semantic version>" | ||
fi | ||
|
||
# python cebra version | ||
sed -i "s/__version__ = .*/__version__ = \"${version}\"/" \ | ||
cebra/__init__.py | ||
|
||
# reinstall script in root | ||
sed -i "s/VERSION=.*/VERSION=${version}/" \ | ||
reinstall.sh | ||
|
||
# Makefile | ||
sed -i "s/CEBRA_VERSION := .*/CEBRA_VERSION := ${version}/" \ | ||
Makefile | ||
|
||
# Arch linux PKGBUILD | ||
sed -i "s/pkgver=.*/pkgver=${version}/" \ | ||
PKGBUILD | ||
|
||
# Dockerfile | ||
sed -i "s/ENV WHEEL=cebra-.*\.whl/ENV WHEEL=cebra-${version}-py2.py3-none-any.whl/" \ | ||
Dockerfile |