Hi all,
Here's my directory structure:
myegg/
pkg1/
__init__.py
...
pkg2/
__init__.py
...
pkg3/
__init__.py
...
setup.py
I can make an egg with "python setup.py bdist_egg" and it works just fine. I'd
like to make it executable with
D'oh. You're right, of course.
Thank you
Dima
--
http://mail.python.org/mailman/listinfo/python-list
For psycopg2: ''
(of course, this could also be due to RHEL5's ancient python).
Dima
--
http://mail.python.org/mailman/listinfo/python-list
Hi everyone,
I've wrapper class around some sql statements and I'm trying to add a
method that does:
if my_cursor is a sqlite cursor, then run "select
last_insert_rowid()"
else if it's a psycopg2 cursor, then run "select
currval( 'my_sequence' )"
etc.
The best I can come up with is import bo