Open hancush opened 6 years ago
the solution:
add a startup.py
file to your analyses/
dir, then export PYTHONPATH=.:$PYTHONPATH
in the command line. this will allow you to do
from analyses.startup import *
at the top of each of your analysis files, and make sure Make
executes the python correctly when you run your build
i've tried a
setup.py
file in theanalyses/
dir, as well as anenvironment
module. both led to weird import problems when compiling the analysis versus developing in atom.