Skip to content

Commit

Permalink
#PSYNEU-140 - Fix installation on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmartin committed Sep 23, 2024
1 parent 79e1b46 commit c6d7430
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ chmod + x linux_installer.sh

And run installer
```
bash -i linux_installer.sh
./linux_installer.sh
```

After installation is done:
Expand Down Expand Up @@ -51,7 +51,7 @@ chmod +x mac_installer.sh

And run installer
```
bash -i mac_installer.sh
./mac_installer.sh
```

After installation is done:
Expand Down
Binary file removed package/dist/psyneulinkviewer-0.4.4.tar.gz
Binary file not shown.
Binary file added package/dist/psyneulinkviewer-0.4.5.tar.gz
Binary file not shown.
3 changes: 1 addition & 2 deletions 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.4
Version: 0.4.5
Home-page: https://github.com/metacell/psyneulinkviewer
Author: metacell
Author-email: [email protected]
Expand All @@ -9,4 +9,3 @@ License-File: LICENSE
Requires-Dist: requests
Requires-Dist: wget
Requires-Dist: packaging<=24.0
Requires-Dist: psyneulink
1 change: 0 additions & 1 deletion package/psyneulinkviewer.egg-info/requires.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
requests
wget
packaging<=24.0
psyneulink
11 changes: 6 additions & 5 deletions package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
logger = logging.getLogger(__name__)
logging.basicConfig(level=logging.INFO)

if not (3, 7) <= sys.version_info < (3, 12):
logging.error('Python version not supported, python 3.7 to 3.11 is required. %f' , sys.version_info)
sys.exit('Python version not supported, 3.7 to 3.11 is required.')

# Check if running in a conda environment
in_conda = 'CONDA_PREFIX' in os.environ

if in_conda:
if not (3, 7) <= sys.version_info < (3, 12):
logging.error('Python version not supported, python 3.7 to 3.11 is required. %f' , sys.version_info)
sys.exit('Python version not supported, 3.7 to 3.11 is required.')

# Define common dependencies
common_requires = [
'requests',
Expand Down Expand Up @@ -67,7 +68,7 @@ def run(self):

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

0 comments on commit c6d7430

Please sign in to comment.