Skip to content

Commit 56223f6

Browse files
__package____spec__.parent (#679)
1 parent 0ce509e commit 56223f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wheel/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
def main() -> NoReturn: # needed for console script
12-
if __package__ == "":
12+
if __spec__.parent == "":
1313
# To be able to run 'python wheel-0.9.whl/wheel':
1414
import os.path
1515

0 commit comments

Comments
 (0)