Hi Cary,
What I did to avoid all the PYTHONPATH stuff was to just 'install' my
python library using distutils. I set up a trivial setup.py script and
then I just run 'python setup.py install' for my library whenever I
make changes.
from distutils.core import setup
setup(name='pf',
Hi Cary.
that depends if you're using magic-removal or trunk. On the m-r branch
there are no "magic" modules, whatever is on your path can be imported
as usual.
if you're using trunk, you must import inside your models methods, or
user module_constants (
On 4/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I've developed a library of code in python that I reuse across multiple
> projects, and I wanted to be able to use some of these classes/modules
> with Django but I've had some problems. I have defined the PYTHONPATH
> env variable (in
Hello,
I'm fairly new to Django, so apologize if this question is fairly
basic. (I did search for related topics but didn't find anything that
seemed to answer my exact question.)
I've developed a library of code in python that I reuse across multiple
projects, and I wanted to be able to use
4 matches
Mail list logo