Conda build fixes#133
Conversation
|
I like this idea. |
|
Wait, I have a question: are you running conda_build.sh in the same repo, with the same conda env? In general, we only expect you to run conda_build.sh the first time, to get all of the dependencies you need. After that, it makes more sense to just run cmake build and cmake install directly |
|
Oh yeah I am. That isn’t my recollection of your old recommendation. Is
that in the docs somewhere? Do you expect it would avoid leaving a stale
trajectories.py in an install if it were updated?
…On Fri, May 15, 2026 at 1:26 PM Grossfield Lab ***@***.***> wrote:
*agrossfield* left a comment (GrossfieldLab/loos#133)
<#133 (comment)>
Wait, I have a question: are you running conda_build.sh in the same repo,
with the same conda env? In general, we only expect you to run
conda_build.sh the first time, to get all of the dependencies you need.
After that, it makes more sense to just run cmake build and cmake install
directly
—
Reply to this email directly, view it on GitHub
<#133 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABAZVYLSWZCRV6I6GD666BD425HNBAVCNFSM6AAAAACY7XBY42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DINRRHA2TCMZTGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
You're right, the docs don't make that clear -- they're focused on telling people how to get it build the first time, because relatively few people will need to rebuild it repeatedly, in the same conda environment. I'll have to think about how to best clarify this -- separating the first setup case from the developer case. |
|
It might be nice to get a pip/uv install command that uses the |
|
Do we have a recommended way to build into a new env? Do we have a recommended way to rebuild in the same env after changing something about the loos source? |
|
The best way to build into a fresh conda environment is If for some reason you want to reinstall and/or recompile in that tree and environment, the best way is to run cmake directly. The install step calls pip behind the scenes. |
name: conda-build-fixes
about: Ran into small issue when working with pyloos, where two different odd interactions meant my rerunning of the script installed a stale version of pyloos into my mamba env, even though that's what I was wrenching on. These fixes would have prevented me from having this issue.
title: Stale pyloos cache, and silent failure.
labels: build
assignees: ''
Didn't make an issue, just proposing this fix.
Changes proposed in this pull request