Add simple support for dependent python modules (#11)

* add pipinstall script and append py_modules to PYTHONPATH

allows dependent python modules to be installed

* separate build_frontend and pip_install

* use prepare script for installing python modules

* use pip3 instead of pip

* always create requirements.txt, even if empty
This commit is contained in:
Luis Finke 2023-01-05 18:37:38 -05:00 committed by GitHub
commit 229c2aa079
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
import os
import sys
# append py_modules to PYTHONPATH
sys.path.append(os.path.dirname(os.path.realpath(__file__))+"/py_modules")
import logging
logging.basicConfig(filename="/tmp/template.log",