Skip to content

Commit

Permalink
Merge pull request #51 from MannLabs/update_dependencies
Browse files Browse the repository at this point in the history
Adapt GUI
  • Loading branch information
ammarcsj authored Oct 24, 2024
2 parents d04985f + 221954b commit 46e38fd
Show file tree
Hide file tree
Showing 17 changed files with 181 additions and 174 deletions.
2 changes: 1 addition & 1 deletion directlfq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


__project__ = "directlfq"
__version__ = "0.2.20"
__version__ = "0.3.0"
__license__ = "Apache"
__description__ = "An open-source Python package of the AlphaPept ecosystem"
__author__ = "Mann Labs"
Expand Down
315 changes: 161 additions & 154 deletions directlfq/dashboard_parts.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion directlfq/gui_textfields.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class Cards():
collapsed=True,
width=ButtonConfiguration.width,
align='start',
margin=(0, 80, 5, 10),
margin=(20, 0, 20, 0),
css_classes=['spectronaut_instr']
)
diann = pn.Card(
Expand Down
2 changes: 1 addition & 1 deletion misc/.bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.2.20
current_version = 0.3.0
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?
Expand Down
2 changes: 1 addition & 1 deletion release/linux/build_installer_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rm -rf dist_pyinstaller build_pyinstaller

# Creating the wheel
python setup.py sdist bdist_wheel
pip install "dist/directlfq-0.2.20-py3-none-any.whl[stable,gui]"
pip install "dist/directlfq-0.3.0-py3-none-any.whl[stable,gui]"

# Creating the stand-alone pyinstaller folder
pip install pyinstaller
Expand Down
2 changes: 1 addition & 1 deletion release/linux/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: directlfq
Version: 0.2.20
Version: 0.3.0
Architecture: all
Maintainer: Mann Labs <opensource@alphapept.com>
Description: directlfq
Expand Down
2 changes: 1 addition & 1 deletion release/linux/create_installer_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ python setup.py sdist bdist_wheel
# Setting up the local package
cd release/linux
# Make sure you include the required extra packages and always use the stable or very-stable options!
pip install "../../dist/directlfq-0.2.20-py3-none-any.whl[stable, gui]"
pip install "../../dist/directlfq-0.3.0-py3-none-any.whl[stable, gui]"

# Creating the stand-alone pyinstaller folder
pip install pyinstaller==4.10
Expand Down
4 changes: 2 additions & 2 deletions release/macos/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<key>CFBundleIconFile</key>
<string>alpha_logo.icns</string>
<key>CFBundleIdentifier</key>
<string>directlfq.0.2.20</string>
<string>directlfq.0.3.0</string>
<key>CFBundleShortVersionString</key>
<string>0.2.20</string>
<string>0.3.0</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down
2 changes: 1 addition & 1 deletion release/macos/build_installer_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rm -rf dist_pyinstaller build_pyinstaller

# Creating the wheel
python setup.py sdist bdist_wheel
pip install "dist/directlfq-0.2.20-py3-none-any.whl[stable,gui]"
pip install "dist/directlfq-0.3.0-py3-none-any.whl[stable,gui]"

# Creating the stand-alone pyinstaller folder
pip install pyinstaller
Expand Down
2 changes: 1 addition & 1 deletion release/macos/build_package_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ cd -

chmod 777 release/macos/scripts/*

pkgbuild --root dist_pyinstaller/${PACKAGE_NAME} --identifier de.mpg.biochem.${PACKAGE_NAME}.app --version 0.2.20 --install-location /Applications/${PACKAGE_NAME}.app --scripts release/macos/scripts ${PACKAGE_NAME}.pkg
pkgbuild --root dist_pyinstaller/${PACKAGE_NAME} --identifier de.mpg.biochem.${PACKAGE_NAME}.app --version 0.3.0 --install-location /Applications/${PACKAGE_NAME}.app --scripts release/macos/scripts ${PACKAGE_NAME}.pkg
productbuild --distribution release/macos/distribution.xml --resources release/macos/Resources --package-path ${PACKAGE_NAME}.pkg ${BUILD_NAME}.pkg
4 changes: 2 additions & 2 deletions release/macos/create_installer_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ python setup.py sdist bdist_wheel

# Setting up the local package
cd release/macos
pip install "../../dist/directlfq-0.2.20-py3-none-any.whl[stable, gui]"
pip install "../../dist/directlfq-0.3.0-py3-none-any.whl[stable, gui]"

# Creating the stand-alone pyinstaller folder
pip install pyinstaller==4.10
Expand All @@ -42,5 +42,5 @@ cp ../../LICENSE Resources/LICENSE
cp ../logos/alpha_logo.png Resources/alpha_logo.png
chmod 777 scripts/*

pkgbuild --root dist/directlfq --identifier de.mpg.biochem.directlfq.app --version 0.2.20 --install-location /Applications/directlfq.app --scripts scripts directlfq.pkg
pkgbuild --root dist/directlfq --identifier de.mpg.biochem.directlfq.app --version 0.3.0 --install-location /Applications/directlfq.app --scripts scripts directlfq.pkg
productbuild --distribution distribution.xml --resources Resources --package-path directlfq.pkg dist/directlfq_gui_installer_macos.pkg
2 changes: 1 addition & 1 deletion release/macos/distribution.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<installer-script minSpecVersion="1.000000">
<title>directlfq 0.2.20</title>
<title>directlfq 0.3.0</title>
<background mime-type="image/png" file="alpha_logo.png" scaling="proportional"/>
<welcome file="welcome.html" mime-type="text/html" />
<conclusion file="conclusion.html" mime-type="text/html" />
Expand Down
2 changes: 1 addition & 1 deletion release/windows/build_installer_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Remove-Item -Recurse -Force -ErrorAction SilentlyContinue ./dist_pyinstaller
# Creating the wheel
python setup.py sdist bdist_wheel
# Make sure you include the required extra packages and always use the stable or very-stable options!
pip install "dist/directlfq-0.2.20-py3-none-any.whl[stable, gui]"
pip install "dist/directlfq-0.3.0-py3-none-any.whl[stable, gui]"

# Creating the stand-alone pyinstaller folder
pip install pyinstaller
Expand Down
2 changes: 1 addition & 1 deletion release/windows/create_installer_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ python setup.py sdist bdist_wheel
# Setting up the local package
cd release/windows
# Make sure you include the required extra packages and always use the stable or very-stable options!
pip install "../../dist/directlfq-0.2.20-py3-none-any.whl[stable, gui]"
pip install "../../dist/directlfq-0.3.0-py3-none-any.whl[stable, gui]"

# Creating the stand-alone pyinstaller folder
pip install pyinstaller==4.10
Expand Down
2 changes: 1 addition & 1 deletion release/windows/directlfq_innoinstaller.iss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
; so all paths are given relative to the location of this .iss file.

#define MyAppName "directlfq"
#define MyAppVersion "0.2.20"
#define MyAppVersion "0.3.0"
#define MyAppPublisher "Max Planck Institute of Biochemistry and the University of Copenhagen, Mann Labs"
#define MyAppURL "https://github.com/MannLabs/directlfq"
#define MyAppExeName "directlfq_gui.exe"
Expand Down
6 changes: 3 additions & 3 deletions requirements/requirements_gui.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
panel==0.14.2
dash==2.7.1
matplotlib==3.6.3
panel==0.10.3
dash==2.5.1
matplotlib==3.4.3
2 changes: 1 addition & 1 deletion settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ author = Constantin Ammar
author_email = constantin.ammar@gmail.com
copyright = fast.ai
branch = master
version = 0.2.20
version = 0.3.0
min_python = 3.6
audience = Developers
language = English
Expand Down

0 comments on commit 46e38fd

Please sign in to comment.