Hi,

The recent upload of packages from pjstevns on PyPI [1] shed some ligth on a
potential issue.
For now, we use a schema for naming the packages of Tryton modules which is:

    trytond_%(module_name)s

But we have no guarantee that this name will be available for new modules in
the future because we don't have control on PyPI.

Of course, we can rely on a good collaboration of people but there is no
guarantee.
I see two options right now:

    - changing the name of the package for modules that will be taken by
      someone else. But this means that in the setup.py we can no more rely on
      the package naming to generate the dependencies.

    - create our own instance of PyPI (on pypi.tryton.org) like that we have
      the control over the package naming. But this mean that we need to
      maintain the services and also user need to specify the Tryton index in
      the installation command line like:

        ```
        pip install -i http://pypi.tryton.org/simple \
            --extra-index-url=http://pypi.python.org/simple \
            PACKAGE_NAMES...
        ```

      Of course it can be setup in the configuration file.


I would like to hear your voices about this topic?


PS: @pjstevns of course it is not against you, it is general issue you was
just the revealer. And your modules will be welcome in the mainstream after
some codereview ;-)

[1] http://pypi.python.org/pypi/trytond_timesheet_invoice/2.0.1
    http://pypi.python.org/pypi/trytond_contract/2.0.1
    http://pypi.python.org/pypi/trytond_account_nl/2.0.1

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpVo0cdhIgW9.pgp
Description: PGP signature

Reply via email to