diff options
Diffstat (limited to 'README.org')
-rw-r--r-- | README.org | 22 |
1 files changed, 2 insertions, 20 deletions
@@ -41,28 +41,10 @@ application. *** Run the CLI version -To run the CLI version of the application, we need to set up the correct ~PYTHONPATH~ +Run the CLI version of the application, with #+BEGIN_SRC shell -export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}$(pwd)" +python3 -m scripts.qc --help #+END_SRC -which enables us to run the script with -#+BEGIN_SRC shell -python3 scripts/qc.py --help -#+END_SRC - -Without setting up the ~PYTHONPATH~ environment variable, you might get an error -like the following -#+BEGIN_EXAMPLE shell -$ python3 scripts/qc.py --help -Traceback (most recent call last): - File "/home/frederick/genenetwork/gnqc_py/scripts/qc.py", line 8, in <module> - from quality_control.errors import ParseError -ModuleNotFoundError: No module named 'quality_control' -#+END_EXAMPLE - -*NOTE*: Setting up the ~PYTHONPATH~ environment variable is only necessary for -the development environment. It *MUST NOT* require that the end-user set this up -at all! *** Run the web version |