-
-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output of logo causes failure with pipsi (via setup.py --name
)
#288
Comments
Hmm interesting. I am not sure that there is a good way to avoid printing the logo with distutils. Have you reported this to pipsi? |
No. See https://github.com/mitsuhiko/pipsi/blob/master/pipsi.py#L177-179 for the code. I've reported it to pipsi at mitsuhiko/pipsi#53 now, with some more additional information. |
in general, please avoid doing anything but the absolute minimum required for packaging in setup.py, the tooling is a mess and breaking semi-expected behaviors just because you can makes it even harder for consumers its impossible to properly use hooks at that position since some people don't use setup-tools in a better world there would be static metadata and it could just be read |
I think that this is mostly a pipsi robustness issue, so we should have the conversation there. We'll leave this issue open, to be closed when there is a better upstream pipsi solution. |
pipsi will not fix this with setup.py - the only reliable way is the upcoming static metadata, but that's years away trying to be robust in this absolute mess is a waste of manpower when something sane is on the horizon also its pretty much your choice to print random fancy stuff at setup.py execution, which is pretty much a 'lets make things worse because we can item' |
If there is something direct that you would like to see changed, please open a PR. If there is an alternate way of giving pipsi the package name, such as a |
@scopatz |
No worries @blueyed! Thanks for pushing this issue. I am glad it was resolved :) |
When trying to install xonsh with pipsi it fails because of the logo.
pipsi uses
setup.py --name
to get the name, but this will include the logo.I could imagine to skip output of the logo in case
--name
is passed as argument (but that should cover other, similar usecases then probably, too).Or to write it to stderr - although it's clearly no error.
The text was updated successfully, but these errors were encountered: