title: Python console_scripts doesn't work when pip install --user
body: <p>I wrapped my code into python package and now I want it to be also runnable from the command line (linux). So I added console_scripts tag to setup.py and all seems to be working fine when I pip install it as a root.
  (I can run program from the command line)</p>
  
  <p>However I'd also like for a package to be installed by using</p>
  
  <p>pip install --user .</p>
  
  <p>so it can be installed on computers when root is not available to the user. However when I try to invoke program from the command line i got 'command not found'. The pip installation finishes successfully and I can still run it using</p>
  
  <p>python my_prog.py</p>
  
  <p>But I wonder is there any solution to this problem.
  Can someone please explain how the console_scripts setup.py tag actually works?</p>
  
  <p>Any ideas welcome.</p>