[Distutils] problems with namespace package

2010-05-02 Thread Manlio Perillo
Hi. I have a package named A, with a subpackage B, and I want to create a namespace package A.B.C. In the namespace package setup file I set namespace_packages=['A', 'A.B'], and I use declare_namespace in both A/__init__.py and A/B/__init__.py modules. However if I: 1) install A package 2)

[Distutils] setuptools --tag-revision poposed feature

2010-05-02 Thread Manlio Perillo
Hi. Currently setuptools only support a ``tag-svn-revision`` option. However I use Mercurial, and I would like to tag hg revisions. Looking at setuptool sources, it should not hard to add a new ``tag-revision`` option, used, as an example: --tag-revision=hg In egg_info command class, then,

Re: [Distutils] setuptools --tag-revision poposed feature

2010-05-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manlio Perillo wrote: Hi. Currently setuptools only support a ``tag-svn-revision`` option. However I use Mercurial, and I would like to tag hg revisions. Looking at setuptool sources, it should not hard to add a new ``tag-revision`` option,

Re: [Distutils] setuptools --tag-revision poposed feature

2010-05-02 Thread Manlio Perillo
Tres Seaver ha scritto: Manlio Perillo wrote: Hi. Currently setuptools only support a ``tag-svn-revision`` option. However I use Mercurial, and I would like to tag hg revisions. [...] I don't know if setuptools is still under development (this topic seems quite confused, for me), but

Re: [Distutils] setuptools --tag-revision poposed feature

2010-05-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manlio Perillo wrote: Tres Seaver ha scritto: Manlio Perillo wrote: Hi. Currently setuptools only support a ``tag-svn-revision`` option. However I use Mercurial, and I would like to tag hg revisions. [...] I don't know if setuptools is still

[Distutils] stdeb in Ubuntu 10.04

2010-05-02 Thread anatoly techtonik
There is nothing critical I guess, but stdeb on Ubuntu 10.04 gives a lot of warnings about unknown buildsystem option and some others. Any hints why? Should/could these be fixed? pydoctor$ python setup.py --command-packages=stdeb.command bdist_deb .. Unknown option: buildsystem dh_testdir:

Re: [Distutils] problems with namespace package

2010-05-02 Thread Manlio Perillo
Sorry for this reply, but it seems I have some problems at receiving mails from my gmail account. I have done some more tests and: * When installing in the system default site directory, namespace package work as expected * When installing in a virtual environment (virtualenv

Re: [Distutils] problems with namespace package

2010-05-02 Thread Carl Meyer
Manlio Perillo wrote: Can someone else confirm that namespace packages do not work with virtualenv? I can confirm the contrary; I use namespace packages regularly with virtualenv and have not had any problems. Carl ___ Distutils-SIG maillist -

Re: [Distutils] setuptools --tag-revision poposed feature

2010-05-02 Thread Phillip J. Eby
At 09:35 AM 5/2/2010, Manlio Perillo wrote: Hi. Currently setuptools only support a ``tag-svn-revision`` option. However I use Mercurial, and I would like to tag hg revisions. Looking at setuptool sources, it should not hard to add a new ``tag-revision`` option, used, as an example:

Re: [Distutils] [issue1054967] bdist_deb - Debian packager

2010-05-02 Thread Andrew Straw
I am moving the venue for this discussion on stdeb to the distutils-sig (from http://bugs.python.org/issue1054967 ). I think this is better discussed here. On 4/29/10 9:23 PM, Barry A. Warsaw wrote: Manual moving/copying is what I want to avoid. I'd be totally happy with not reinventing

Re: [Distutils] [issue1054967] bdist_deb - Debian packager

2010-05-02 Thread Andrew Straw
I am moving the venue for this discussion on stdeb to the distutils-sig (from http://bugs.python.org/issue1054967 ). I think this is better discussed there. On 4/29/10 10:16 PM, Éric Araujo wrote: Éric Araujomer...@netwok.org added the comment: Andrew, I am uncomfortable with stdeb.