lcompilers / lpython

Python compiler
https://lpython.org/
Other
1.37k stars 156 forks source link

feat: add a pixi file and split into two envs (host & build) #2744

Open wolfv opened 1 week ago

wolfv commented 1 week ago

I was trying to do some development on lpython.

It might simplify the first steps for some people :) The lockfile should create a consistent environment. I only have tested this on macOS arm64 so far though.

We create two environments:

A start task is also added to run the development version of lpython. I was pretty confused for a while which runtime folder to include so I also added that to the start command (and changed build1.sh).

I can fix this up for linux and windows if you all like it.