You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.
Currently, it's only possible to invoke termtosvg through its script, meaning the package must be installed somewhere with a PATH-exposed bin/Scripts directory. It would be nice to be able to invoke it also through runpy (python -m termtosvg). Currently, if one invokes that command, the following error occurs:
/usr/local/bin/python: No module named termtosvg.__main__; 'termtosvg' is a package and cannot be directly executed
Instead, I'd expect that command to invoke termtosvg directly from the indicated Python interpreter. This method of invocation would allow for a couple of use cases currently not supported, including:
Selective invocation from different Python interpreters (e.g. python3.6 -m termtosvg)
I notice there's already a __main__ in the root directory of the project, but it's not distributed with the package. I wonder if that file intended to serve this same purpose.
The text was updated successfully, but these errors were encountered:
Currently, it's only possible to invoke termtosvg through its script, meaning the package must be installed somewhere with a PATH-exposed bin/Scripts directory. It would be nice to be able to invoke it also through runpy (
python -m termtosvg
). Currently, if one invokes that command, the following error occurs:Instead, I'd expect that command to invoke
termtosvg
directly from the indicated Python interpreter. This method of invocation would allow for a couple of use cases currently not supported, including:python3.6 -m termtosvg
)I notice there's already a
__main__
in the root directory of the project, but it's not distributed with the package. I wonder if that file intended to serve this same purpose.The text was updated successfully, but these errors were encountered: