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
Is your feature request related to a problem? Please describe.
Currently tvm adds the tutor command to your PATH by symlinking the tutor_switcher script to /usr/local/bin/tutor. This requires sudo permissions, which seems excessive, and the global tutor can cause confusion when using tutor in a virtualenv outside of tvm. I would prefer, If I were to install tvm on a virtualenv, to limit the tvm managed tutor command to the scope of that virtualenv.
Describe the solution you'd like
I think we can use the script option from setup.py to create a tutor-shim that calls the tutor switcher (essentially a shell script). This script will be added to the PATH automatically when installing the package and should fill the same role.
Describe alternatives you've considered
None
Additional context
I have not tested this, but I think it could work.
The text was updated successfully, but these errors were encountered:
Hi @MoisesGSalas We have been thinking about this, and we are planning to move the symlink to userhome/.local/share/tutor instead of /usr/local/bin/tutor, maybe that could help us to avoid the usage of sudo.
Also I remind you that we don'r recommend install tvm in a virtualenv.
Is your feature request related to a problem? Please describe.
Currently tvm adds the tutor command to your PATH by symlinking the tutor_switcher script to
/usr/local/bin/tutor
. This requires sudo permissions, which seems excessive, and the global tutor can cause confusion when using tutor in a virtualenv outside of tvm. I would prefer, If I were to install tvm on a virtualenv, to limit the tvm managed tutor command to the scope of that virtualenv.Describe the solution you'd like
I think we can use the
script
option from setup.py to create a tutor-shim that calls the tutor switcher (essentially a shell script). This script will be added to the PATH automatically when installing the package and should fill the same role.Describe alternatives you've considered
None
Additional context
I have not tested this, but I think it could work.
The text was updated successfully, but these errors were encountered: