tethysplatform / tethys

The Tethys Platform main Django website project repository.
http://tethysplatform.org/
BSD 2-Clause "Simplified" License
92 stars 49 forks source link

[BUG] Tethys install command not printing errors when only pyproject.toml available and setup.py not available #990

Open romer8 opened 10 months ago

romer8 commented 10 months ago

Describe the bug Tethys install command not printing errors when pyproject.toml is available (and incorrect) and setup.py is not available. In addition, if there is a setup.py file, pyproject.toml takes precedence over the setup.py file. To Reproduce Steps to reproduce the behavior:

  1. create a pyproject.toml file that is incorrect or buggy
  2. Run tethys install -N
  3. The app seems to be installed. but it is not

Expected behavior The error related to the buggy pyproject.toml should be pointed, one way to see the error is to install the app with pip

Tethys Environment Information Tethys version is the dev version