> My immediate reaction is "you shouldn't name your main program and > your package the same". It's not a pattern I've seen commonly used. > > However, the approaches I've seen used (a __main__.py inside the > package, so you can execute it via `python -m fribble`, or a setup.py > entry point to generate a script wrapper for the application) may be > more common among people focused more on library development than on > application development.
Thanks Paul. The simplest course for me is to change the name of the application, as the package is already in use by other people, and I don't really want to embed the application in the package. Skip -- https://mail.python.org/mailman/listinfo/python-list