Skip to content

Commit

Permalink
Upgrade to python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
po09i committed Jan 17, 2024
1 parent 804320b commit e175149
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion installer/install_plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ source "${ST_DIR}/${PYTHON_DIR}/bin/activate"

# Install fsleyes
print info "Installing fsleyes"
"${ST_DIR}"/"${PYTHON_DIR}"/bin/mamba install -y -c conda-forge fsleyes=1.9.0 python=3.9
"${ST_DIR}"/"${PYTHON_DIR}"/bin/mamba install -y -c conda-forge fsleyes=1.9.0 python=3.10

# Install fsleyes-plugin-shimming-toolbox
print info "Installing fsleyes-plugin-shimming-toolbox"
Expand Down
2 changes: 1 addition & 1 deletion installer/install_shimming_toolbox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rm -rf "${ST_DIR}/shimming-toolbox"

print info "Downloading Shimming-Toolbox"

ST_VERSION="072aaa8b47ab7ded0e7a2f5256ea37af0f038c9f"
ST_VERSION="857908fc08ad24845b219e872893487be065a4ee"

curl -L "https://github.com/shimming-toolbox/shimming-toolbox/archive/${ST_VERSION}.zip" > "shimming-toolbox-${ST_VERSION}.zip"

Expand Down
12 changes: 0 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,31 +1,19 @@
from setuptools import setup, find_packages

setup(
# the name must begin with "fsleyes-plugin-"
name='fsleyes-plugin-shimming-toolbox',
install_requires=[
"imageio",
'pre-commit>=2.10.0'
],
packages=find_packages(exclude=['.git']),
include_package_data=True,

# Views, controls, and tools must be exposed
# as entry points within groups called
# "fsleyes_views", "fsleyes_controls" and
# "fsleyes_tools" respectively.
entry_points={
# 'fsleyes_views': [
# 'My cool view = myplugin:MyView'
# ],
'fsleyes_controls': [
'Shimming Toolbox = fsleyes_plugin_shimming_toolbox.st_plugin:STControlPanel'
],
'fsleyes_layouts': [
'Shimming Toolbox = fsleyes_plugin_shimming_toolbox.st_plugin:STLayout'
],
# 'fsleyes_tools': [
# 'My cool tool = myplugin:MyTool'
# ]
}
)

0 comments on commit e175149

Please sign in to comment.