We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
__package__
__spec__.parent
1 parent 0ce509e commit 56223f6Copy full SHA for 56223f6
1 file changed
src/wheel/__main__.py
@@ -9,7 +9,7 @@
9
10
11
def main() -> NoReturn: # needed for console script
12
- if __package__ == "":
+ if __spec__.parent == "":
13
# To be able to run 'python wheel-0.9.whl/wheel':
14
import os.path
15
0 commit comments