-
Notifications
You must be signed in to change notification settings - Fork 4
How to Package a New Py RMS Release and Build Conda Package
Hao-Wei Pang edited this page May 25, 2023
·
1 revision
- Change the version number in
setup.py - Create a GitHub release with matching version number
- git clone conda-receipe repository
- Modify the version number for pyrms here and here
- Navigate to the local
conda-receipefolder - To build pyrms with rmg dependencies for standalone pyrms use, run
conda build pyrms -c rmg -c conda-forge - To build pyrms without rmg dependencies for RMG instllation, modify the build string here and remove rmg dependency by removing this, and run
conda build pyrms -c rmg - Convert the built package to other operating system with
conda convert <path to built package> -p <desired operating system> - Converted packages appear in the same directory in different folders
- Update the packages to Anaconda with
anaconda upload <path to built package> - Copy to RMG or pyrms channel with
anaconda copy <your channel>/pyrms/<version number>/<operating system>/pyrms-<version number>-no_rmg_dep.tar.bz2 --to-owner RMGandanaconda copy <your channel>/pyrms/<version number>/<operating system>/pyrms-<version number>-rmg_1.tar.bz2 --to-owner pyrms