Skip to content

Commit

Permalink
set env variables outside of julia and python calls
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonBurns committed Sep 18, 2023
1 parent 4d5857a commit 5e9bd6c
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .conda/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
#
# conda executes this script during the build process to make the rmg
# binary


which python
make clean
make
python -c "import rmgpy.molecule"
which python
echo $PREFIX
export PYTHON=$PREFIX/bin/python
julia -e 'using Pkg; Pkg.add("PyCall"); Pkg.build("PyCall")'
python -c "import julia; julia.install(); import diffeqpy; diffeqpy.install()"
julia -e 'using Pkg; Pkg.build("PyCall"); Pkg.add(PackageSpec(name="Functors",version="0.4.3")); Pkg.pin("Functors"); Pkg.add(PackageSpec(name="ReactionMechanismSimulator",rev="for_rmg")); using ReactionMechanismSimulator'
export PYTHONPATH=$SRC_DIR:$PYTHONPATH
julia -e 'using Pkg; Pkg.add(PackageSpec(name="Functors",version="0.4.3")); Pkg.pin("Functors"); Pkg.add(PackageSpec(name="ReactionMechanismSimulator",rev="for_rmg")); using ReactionMechanismSimulator'

0 comments on commit 5e9bd6c

Please sign in to comment.