Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d4cbde0

Browse files
bcallerBen Caller
authored andcommitted
Fix pyt console script
Can now use just `pyt` exactly like `python -m pyt`. Before there was an error: AttributeError: module 'pyt' has no attribute 'main'
1 parent 92fe367 commit d4cbde0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
install_requires=[],
3434
entry_points={
3535
'console_scripts': [
36-
'pyt = pyt:main'
36+
'pyt = pyt.__main__:main'
3737
]
3838
}
3939
)

0 commit comments

Comments
 (0)