Use company name for module
robert.kern at gmail.com
Fri Nov 12 16:50:46 CET 2010
On 11/12/10 8:12 AM, Micah Carrick wrote:
> My company is working on releasing some of our code as open-source python
> modules. I don't want my "foo" module conflicting with other modules called
> "foo" on PyPi or github or a user's system. Is there anything wrong, from a
> conventions standpoint, with having modules like company.foo and company.bar
> even if foo and bar are not necessarily related other than being released by us?
> I really don't like the cryptic module names or things like foo2 and the like.
Yes, using namespace packages. You need to use `distribute` in your setup.py in
order to accomplish this.
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list