diff options
| author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2022-12-19 11:22:48 +0100 |
|---|---|---|
| committer | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2022-12-20 14:20:28 +0100 |
| commit | c78ad95f2571ca6bdcccede2a2cfc2c8d5c8932a (patch) | |
| tree | 5e90b33c9e0640b594724f1279beceec769a14d0 /sources/pyside-tools/deploy_lib/python_helper.py | |
| parent | c05672ad62214710ffd5dba85bec77a0e4ff7b8d (diff) | |
deploy tool: add error when running on a non-project directory
- Before this patch one could run pyside6-deploy on a non-project
directory, which would eventually fail because there is no main
python file or a config file
- This patch adds an error message when neither the config file nor
the main python file is given (or found, incase the file is named
main.py) with the pyside6-deploy command
Pick-to: 6.4
Change-Id: I5e44efecfcdf50f48b5393fbbbd0e1fb721c0409
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside-tools/deploy_lib/python_helper.py')
0 files changed, 0 insertions, 0 deletions
