Skip to content

Commit 1d3fe93

Browse files
authored
Bump to 1.2.7 (#552)
1 parent d864c2d commit 1d3fe93

6 files changed

Lines changed: 15 additions & 15 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ There are 4 alternative ways to install CNApy:
4040

4141
1. The easiest way for any user to install CNApy is by downloading its installer, which is provided for Windows, Linux and MacOS, see [Using CNApy installer](#using-cnapy-installer) for more.
4242
2. If you already have installed Python 3.10 (no other version) on your system, you can install CNApy simply through ```pip install cnapy``` in your console. Afterwards, you can start CNApy's GUI by running either ```cnapy``` or, if this doesn't work, ```python -m cnapy``` where "python" must call your Python 3.10 installation.
43-
3. If you already use conda or mamba (for mamba, just change the "conda" command to "mamba"), you can create a CNApy environment named ```cnapy-1.2.6``` as follows: 1) Run ```conda create --name cnapy-1.2.6 python=3.10 pip openjdk -c conda-forge```, 2) run ```conda activate cnapy-1.2.6```, 3) run ```pip install cnapy```. Then, you can start CNApy in the cnapy-1.2.6 conda environment by running either ```cnapy``` or, if this doesn't work, ```python -m cnapy```. Note that the [cnapy conda package](https://anaconda.org/cnapy/cnapy) is currently *not* being updated due to licensing uncertainties.
43+
3. If you already use conda or mamba (for mamba, just change the "conda" command to "mamba"), you can create a CNApy environment named ```cnapy-1.2.7``` as follows: 1) Run ```conda create --name cnapy-1.2.7 python=3.10 pip openjdk -c conda-forge```, 2) run ```conda activate cnapy-1.2.7```, 3) run ```pip install cnapy```. Then, you can start CNApy in the cnapy-1.2.7 conda environment by running either ```cnapy``` or, if this doesn't work, ```python -m cnapy```. Note that the [cnapy conda package](https://anaconda.org/cnapy/cnapy) is currently *not* being updated due to licensing uncertainties.
4444
4. If you want to develop CNApy, follow the instruction for the cloning and setup of the CNApy repository using git and conda or mamba in section [Setup the CNApy development environment](#setup-the-cnapy-development-environment).
4545

4646
## Documentation and Tutorials
@@ -56,18 +56,18 @@ This installer lets you create a local installation of CNApy under Windows, Linu
5656

5757
*If you use Windows:*
5858

59-
- Download the Windows installer [from here](https://github.com/cnapy-org/CNApy/releases/download/v1.2.6/install_cnapy_here.bat)
59+
- Download the Windows installer [from here](https://github.com/cnapy-org/CNApy/releases/download/v1.2.7/install_cnapy_here.bat)
6060
- Put this file into a folder where you want CNApy to be installed.
6161
- Double click on the file and let the CNApy installation run
62-
- Afterwards, you can run CNApy by either double-clicking on the newly created CNApy desktop icon, or by double-clicking "RUN_CNApy.bat" in the newly created cnapy-1.2.6 subfolder.
62+
- Afterwards, you can run CNApy by either double-clicking on the newly created CNApy desktop icon, or by double-clicking "RUN_CNApy.bat" in the newly created cnapy-1.2.7 subfolder.
6363

6464
*If you use Linux or MacOS*:
6565

66-
- Download the Linux & MacOS installer [from here](https://github.com/cnapy-org/CNApy/releases/download/v1.2.6/install_cnapy_here.sh).
66+
- Download the Linux & MacOS installer [from here](https://github.com/cnapy-org/CNApy/releases/download/v1.2.7/install_cnapy_here.sh).
6767
- Put this file into a folder where you want CNApy to be installed.
6868
- Make the script executable by opening your console in the folder and run ```chmod u+x ./install_cnapy_here.sh```. Alternatively, if supported on your system, right-click on the file, go the file's settings and mark it as executable.
6969
- Now, either run ```./install_cnapy_here.sh``` in your console or, if supported on your system, double-click on install_cnapy_here.sh.
70-
- Finally, you can run CNApy by calling ```./run_cnapy.sh``` in your console (for this without another path beforehand, your console must point to the folder where run_cnapy.sh is located, e.g. if you are in the folder where install_cnapy_here.sh is located, through ```cd cnapy-1.2.6```). Alternatively, if supported by your system, double-click on "run_cnapy.sh" in the newly created cnapy-1.2.6 subfolder.
70+
- Finally, you can run CNApy by calling ```./run_cnapy.sh``` in your console (for this without another path beforehand, your console must point to the folder where run_cnapy.sh is located, e.g. if you are in the folder where install_cnapy_here.sh is located, through ```cd cnapy-1.2.7```). Alternatively, if supported by your system, double-click on "run_cnapy.sh" in the newly created cnapy-1.2.7 subfolder.
7171

7272
Technical side note: CNApy's installer is utilizing [micromamba](https://mamba.readthedocs.io/en/latest/installation/micromamba-installation.html).
7373

cnapy/appdata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class AppData(QObject):
3131

3232
def __init__(self):
3333
QObject.__init__(self)
34-
self.version = "cnapy-1.2.6"
34+
self.version = "cnapy-1.2.7"
3535
self.format_version = 2
3636
self.unsaved = False
3737
self.project = ProjectData()

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ Everyone is welcome to contribute to CNApy's development. [See our contribution
6161
3. Create a conda environment with all dependencies
6262

6363
```sh
64-
conda create -n cnapy-1.2.6 -c conda-forge -c cnapy cnapy=1.2.6
64+
conda create -n cnapy-1.2.7 -c conda-forge -c cnapy cnapy=1.2.7
6565
```
6666

6767
4. Activate the cnapy conda environment
6868

6969
```sh
70-
conda activate cnapy-1.2.6
70+
conda activate cnapy-1.2.7
7171
```
7272

7373
5. Run CNApy within you activated conda environment

installers/install_cnapy_here.bat

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set "psFile=install_cnapy.ps1"
77
:: Write the PowerShell script to a file
88
echo # Adapted from https://raw.githubusercontent.com/mamba-org/micromamba-releases/main/install.ps1 > "%psFile%"
99
echo. >> "%psFile%"
10-
echo $CNAPY_VERSION = "1.2.6" ^# Replace with the actual version if needed >> "%psFile%"
10+
echo $CNAPY_VERSION = "1.2.7" ^# Replace with the actual version if needed >> "%psFile%"
1111
echo $RELEASE_URL="https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-win-64" >> "%psFile%"
1212
echo. >> "%psFile%"
1313
echo Write-Output "Downloading micromamba from $RELEASE_URL" >> "%psFile%"
@@ -26,7 +26,7 @@ echo Move-Item -Force micromamba.exe $MAMBA_INSTALL_PATH ^| out-null >> "%psFile
2626
echo. >> "%psFile%"
2727
echo ^# Use ^& to execute the micromamba commands stored in the variable >> "%psFile%"
2828
echo ^& $MAMBA_INSTALL_PATH create -y -p "./cnapy-$CNAPY_VERSION/cnapy-environment" python=3.10 pip openjdk -r "./cnapy-$CNAPY_VERSION/" -c conda-forge >> "%psFile%"
29-
echo Copy-Item -Path "cnapy-1.2.6/condabin/mamba.bat" -Destination "cnapy-1.2.6/condabin/micromamba.bat" >> "%psFile%"
29+
echo Copy-Item -Path "cnapy-1.2.7/condabin/mamba.bat" -Destination "cnapy-1.2.7/condabin/micromamba.bat" >> "%psFile%"
3030
echo ^& $MAMBA_INSTALL_PATH run -p "./cnapy-$CNAPY_VERSION/cnapy-environment" -r "./cnapy-$CNAPY_VERSION/" pip install --no-cache-dir uv >> "%psFile%"
3131
echo ^& $MAMBA_INSTALL_PATH run -p "./cnapy-$CNAPY_VERSION/cnapy-environment" -r "./cnapy-$CNAPY_VERSION/" uv --no-cache pip install --no-cache-dir cnapy >> "%psFile%"
3232
echo. >> "%psFile%"
@@ -68,9 +68,9 @@ if exist "%psFile%" (
6868

6969
:: Congratulate the user
7070
echo Congratulations! CNApy was successfully installed!
71-
echo To run CNApy, double-click on the newly created CNApy-1.2.6 desktop icon or,
72-
echo alternatively, double-click on the RUN_CNApy.bat file in the newly created cnapy-1.2.6 subfolder.
73-
echo To deinstall CNApy later, simply delete the newly created cnapy-1.2.6 subfolder.
71+
echo To run CNApy, double-click on the newly created CNApy-1.2.7 desktop icon or,
72+
echo alternatively, double-click on the RUN_CNApy.bat file in the newly created cnapy-1.2.7 subfolder.
73+
echo To deinstall CNApy later, simply delete the newly created cnapy-1.2.7 subfolder.
7474
pause
7575
) else (
7676
echo PowerShell script file not found: %psFile%

installers/install_cnapy_here.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -eu
55

66
# CNApy version
7-
CNAPY_VERSION="1.2.6"
7+
CNAPY_VERSION="1.2.7"
88

99
# Folders
1010
BIN_FOLDER="${BIN_FOLDER:-./cnapy-${CNAPY_VERSION}}"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "cnapy"
3-
version = "1.2.6"
3+
version = "1.2.7"
44
authors = [
55
{ name="Sven Thiele" },
66
{ name="Axel von Kamp" },

0 commit comments

Comments
 (0)