Skip to content

errors in setup process are being hidden by the wrapper script #12

Description

@yonatanp

To reproduce, create a quicklib_setup.yml file with a dependency on pkg?? (a bad format for dependency).
Then run quicklib-setup -s quicklib_setup.yml

You get:

RuntimeError: 'distutils.core.setup()' was never called -- perhaps 'quicklib_setup_from_yml.py' is not a Distutils setup script?

But really the error should be:

error in mylib setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Invalid requirement, parse error at "'?'"

The call to distutils.core.run_setup hides this error and the user will never know why there's a problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions