Skip to content

Commit 5e9bd6c

Browse files
committed
set env variables outside of julia and python calls
1 parent 4d5857a commit 5e9bd6c

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.conda/build.sh

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,10 @@
22
#
33
# conda executes this script during the build process to make the rmg
44
# binary
5-
6-
7-
which python
85
make clean
96
make
10-
python -c "import rmgpy.molecule"
11-
which python
12-
echo $PREFIX
7+
export PYTHON=$PREFIX/bin/python
8+
julia -e 'using Pkg; Pkg.add("PyCall"); Pkg.build("PyCall")'
139
python -c "import julia; julia.install(); import diffeqpy; diffeqpy.install()"
14-
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'
10+
export PYTHONPATH=$SRC_DIR:$PYTHONPATH
11+
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 commit comments

Comments
 (0)