how to structure a directory with many scripts and shared code
ssteinerX@gmail.com
ssteinerx at gmail.com
Mon Feb 15 11:30:59 EST 2010
On Feb 15, 2010, at 11:06 AM, Jean-Michel Pichavant wrote:
> 3/ make sure your working copy of myBeautifulPackage is in your PYTHONPATH.
Or, make a simple setup.py which imports distribute or setuptools and use:
# python setup.py develop
which will put your code into the PYTHONPATH by virtue of a link inside your site-packages.
First one I found googling for "setup.py develop" : https://www.siafoo.net/article/77
There's a typo in the code of section 1.2 (parenthesis at the end of import, wrong), but the basic idea is there.
S
More information about the Python-list
mailing list