title: Bitbake Recipe for a python3 repository that provides a CLI as a binary
body: <p>I have some simple python3 scripts that I packaged in such a way that upon <code>pip install .</code> within the repository one can use the scripts within the <code>bin</code> folder as a CLI e.g. </p>
  
  <pre><code> $ gpsinflux # execute the script as cli
  </code></pre>
  
  <h3>source</h3>
  
  <p><a href="https://github.com/iotfablab/gpsinflux" rel="nofollow noreferrer">gpsinflux</a> repository.</p>
  
  <h3>Workflow</h3>
  
  <ol>
  <li><p>I used <code>devtool add gpsinflux url_of_repo</code></p></li>
  <li><p>I already managed to add <code>influxdb-python</code> as a recipe based on my findings in my <a href="https://stackoverflow.com/questions/50436413/write-a-recipe-in-yocto-for-a-python-application">previous SE Query regarding python application on yocto</a></p></li>
  <li><p>Edit the recipe to add <code>RDEPENDS_PN</code></p></li>
  </ol>
  
  <p>However do I need to mention within the recipe that I want the script in the <code>bin</code> folder from my repository to be installed in say, <code>/usr/bin</code> folder or will the recipe do that automatically?</p>