Skip to content

Commit

Permalink
#PSYNEU-140 - Mac installation fixes, updating version
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmartin committed Sep 25, 2024
1 parent fc66d21 commit bbbc792
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
Binary file removed package/dist/psyneulinkviewer-0.4.7.tar.gz
Binary file not shown.
Binary file added package/dist/psyneulinkviewer-0.4.8.tar.gz
Binary file not shown.
7 changes: 3 additions & 4 deletions package/mac_installer.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
pip install -vv psyneulinkviewer --break-system-packages --use-pep517 && source ~/.bash_profile
pip install -vv dist/psyneulinkviewer-0.4.8.tar.gz --break-system-packages --use-pep517 && source ~/.bashrc_profile

# Variables - adjust these for your setup
APP_PATH="$HOME/psyneulinkviewer-darwin-x64/psyneulinkviewer.app/" # Replace with the full path to the application
Expand Down Expand Up @@ -30,9 +30,8 @@ is_conda_active() {
# Write the .command file that launches the app with conda environment
cat <<EOL > "$COMMAND_FILE_PATH"
#!/bin/bash
source ~/.bash_profile
# Activate conda environment and launch application
source \$(conda info --base)/etc/profile.d/conda.sh
source ~/.bashrc_profile
source ~/miniconda3/etc/profile.d/conda.sh
conda activate $CONDA_ENV
open "$APP_PATH"
EOL
Expand Down
2 changes: 1 addition & 1 deletion package/psyneulinkviewer.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: psyneulinkviewer
Version: 0.4.7
Version: 0.4.8
Home-page: https://github.com/metacell/psyneulinkviewer
Author: metacell
Author-email: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion package/psyneulinkviewer/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def update_env_variable(var_name, var_value):
profile_file = os.path.expanduser('~/.profile')
if platform.system() == 'Darwin':
# For macOS and Linux
profile_file = os.path.expanduser('~/.bash_profile')
profile_file = os.path.expanduser('~/.bashrc_profile')

# Read the current content of the profile file
try:
Expand Down
2 changes: 1 addition & 1 deletion package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def run(self):

setup(
name="psyneulinkviewer",
version="0.4.7",
version="0.4.8",
url='https://github.com/metacell/psyneulinkviewer',
author='metacell',
author_email='[email protected]',
Expand Down

0 comments on commit bbbc792

Please sign in to comment.