<#13154 Show error or warning when installing pant...
# github-notifications
c
#13154 Show error or warning when installing pants directly from pypi (instead of using the pants script) Issue created by asherf I have seen in the wild that people install pants directly from pypi (i.e. pip install
pantsbuild.pants
) instead of using the pants script. installing tools from pypi is something python engineers usually do, but it can cause issues when it comes to pants. I would suggest that pants might want to fail or at least issue a warning/error message when this install method is being used. One way this could be achieved is by using extra specifier and requiring a specifier while installing pants, which will not be there when people use pip install. so
pip install pantsbuild.pants
will cause a warning and
pip install pantsbuild.pants[using-pants-script
] will not. pantsbuild/pants