[Python-Dev] PEP 423 : naming conventions and recipes related to packaging (original) (raw)

BenoƮt Bryon benoit at marmelune.net
Thu Jun 28 21:32:59 CEST 2012


Let's try to summarize answers about top-level namespace with use cases and examples... I hope I understood them well...

About "yes" or "no" meaning:

yes It fits the (work-in-progress) convention. You would recommend it.

no You wouldn't recommend the naming pattern for new projects (we can't require existing projects to be renamed).

=====

Project is standalone (doesn't mean "have no dependencies"), released on PyPI:

=====

Project is made of several subprojects which are not standalone, released on PyPI:

=====

Project is related to another one (i.e. kind of contrib), released on PyPI:

=====

Project is standalone, but really experimental (i.e. name could change, not sure to publish version 0.2), want to make it public:

=====

Project is standalone, but specific to my own usage, i.e. I use it as personal software. It's not private because I want to share the code (maybe someone will like it).

=====

.. note::

conventions for private projects are provided as
informational guidelines.

Project is private, made of only one component:

=====

Project is private, made of several components:

=====

Do you prefer the examples above to the "top-level namespace relates to code ownership" rule? Do you see other use cases?

Benoit



More information about the Python-Dev mailing list