create own python link
<p>So I'm in the following situation. I have a package generated with py2app. This has it's own structure and my projects sources are located in:</p>

<pre><code>/dist.app/Contents/Resources/lib/python2.7/my_project
</code></pre>

<p>Now this works fine, however I want to give the possibility that developers add their own code where they want. So going trough all those folders every time seems rather ugly. So I was thinking I could try and (if possible):</p>

<pre><code>1. Get the my_project folder at the top level, next to dist.app
2. Create only a link in the lib folder similar to what distutils `python setup.py develop` does.
</code></pre>

<p>But I'm rather stuck here. So far what I attempted was (from the unpackaged project):</p>

<p>Do a <code>python setup.py develop</code> of my project. Go to python's site-packages and copy the <code>my_project.egg-link</code> generated there into the above mentioned place. Edit it , as it's just a path to the actual project accordingly.</p>

<p>Copy the <code>my_project.egg-info</code> that is generated next to the my_project folder.</p>

<p>This however doesn't seem to work. I also tried the easiest solution I could and create a MacOS alias of the folder which doesn't work either.</p>

<p>Any suggestions?</p>

<p>Regards,
Bogdan</p>
