We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See https://packaging.python.org/specifications/entry-points/
Trying to install black's wheel with python-install, will produce the binary blackd with the following contents:
black
python-install
blackd
#!/usr/bin/python # -*- coding: utf-8 -*- import re import sys from blackd import patched_main [d] if __name__ == "__main__": sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0]) sys.exit(patched_main [d]())
which of course doesn't work. python-install should not include the [d] in the file.
[d]
This is the contents of entry_points.txt for black's wheel:
entry_points.txt
[console_scripts] black = black:patched_main black-primer = black_primer.cli:main blackd = blackd:patched_main [d]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See https://packaging.python.org/specifications/entry-points/
Trying to install
black
's wheel withpython-install
, will produce the binaryblackd
with the following contents:which of course doesn't work.
python-install
should not include the[d]
in the file.This is the contents of
entry_points.txt
forblack
's wheel:The text was updated successfully, but these errors were encountered: