gpt-4-turbo-2024-04-09· openai
from WildChat-4.8M
this is my file. could you help write it?: #!/bin/bash TESTPY="piscotest.py"…
- User
this is my file. could you help write it?:
#!/bin/bash
TEST_PY="pisco_test.py" ENV_YML="env.yml"
FISH_ENV_BASH="./rustools/.env/bin/activate.fish" CONDA_ENV_BASH="./rustools/.env/bin/activate"
echo "Configuring environment to run pisco..."
check that conda exists and can be executed
activate conda .env from env.yml
activate python .env for rust functions. 1) check if we are exceuting this from bash o fish and execute the corresponding file
do maturin develop --release to install py bindings. try running commands, if error then install maturin and rustup and try again
cd rustools maturin develop --release
make sure everything is ok.
cd ..
- Assistant