ITADN
ofek/pyapp/Issues

install dependencies in requirements.txt automatically

#216Openchaffra 创建于 2025-10-31
C
chaffracommented
I have the following setup but the dependencies in `requirements.txt` are not installed automatically. I have to run the last line (commented) for the executable to work. I thought the dependency file would install automatically. ``` export PYAPP_PROJECT_NAME=hpmp export PYAPP_PROJECT_VERSION=0.0.1 export PYAPP_PROJECT_DEPENDENCY_FILE="../../requirements.txt" export PYAPP_PROJECT_PATH=../../dist/hpmp-0.0.1-py3-none-any.whl export PYAPP_EXEC_SCRIPT=../../src/hpmp/examples/pn_junction_app.py #export PYAPP_EXEC_SPEC="hpmp.examples.pn_junction_app:main" export PYAPP_DISTRIBUTION_EMBED=1 export PYAPP_PYTHON_VERSION=3.12 export PYAPP_SKIP_INSTALL=0 #export PYAPP_FULL_ISOLATION=1 cargo build --release mv target/release/pyapp pn_junction_app && chmod +x pn_junction_app #./pn_junction_app self pip install -r $PYAPP_PROJECT_DEPENDENCY_FILE ```
0 条评论