Skip to content

Commit

Permalink
Fix some errors with new mamba version
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianinsaval committed Dec 14, 2024
1 parent 1d4ef38 commit f4733dc
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
conda/linux/AppDir/usr
conda/linux/AppDir/*.desktop
conda/linux/AppDir/*.svg
**packages.txt
conda/osx/APP
conda/win/FreeCAD_*
**.AppImage
**.dmg
**.7z
**-SHA256.txt
**packages.txt
**bundle_name.txt
5 changes: 5 additions & 0 deletions conda/osx/create_bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

conda_env="APP/FreeCAD.app/Contents/Resources"

mkdir -p ${conda_env}

mamba create -y --copy -c freecad/label/dev -c conda-forge -p ${conda_env} \
python=3.11 \
freecad=*dev \
Expand Down Expand Up @@ -49,6 +51,9 @@ cp ${conda_env}/bin_tmp/unflatten ${conda_env}/bin/
sed -i "" '1s|.*|#!/usr/bin/env python|' ${conda_env}/bin/pip
rm -rf ${conda_env}/bin_tmp

#copy resources
cp resources/* ${conda_env}

#copy qt.conf
cp qt.conf ${conda_env}/bin/
cp qt.conf ${conda_env}/libexec/
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion conda/win/create_bundle.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set conda_env="fc_env"
set conda_env=".\FreeCAD_env"
set copy_dir="FreeCAD_Conda_Build"

mkdir %copy_dir%
Expand Down

0 comments on commit f4733dc

Please sign in to comment.