[sqlalchemy] Re: sqlalchemy in virtualenv Instructions

2008-04-14 Thread Douglas Mayle
Wow, you've been using virtualenv in the most difficult way possible bin/activate is a bash script that sets up you path and all other environment variables you need to use it. running souce bin/ activate (or . bin/activate) causes it to effect the current shell. Just type deactivate when

[sqlalchemy] Re: sqlalchemy in virtualenv Instructions

2008-04-14 Thread Douglas Mayle
You shouldn't be mucking about with the PYTHONPATH at all. before installing, activate the venv and ti will just do the right thing... On Apr 14, 2008, at 1:12 PM, Lukasz Szybalski wrote: On Mon, Apr 14, 2008 at 11:38 AM, jason kirtland [EMAIL PROTECTED] wrote: Lukasz Szybalski wrote:

[sqlalchemy] Sharing metadata between modules...

2008-04-08 Thread Douglas Mayle
that. The other solution I imagined was having a function in one module return a bunch of class objects representing the models, but I can't figure out how to import those into the current module.. Has anyone else already come across this? Thanks, Douglas Mayle