Re: [Distutils] Python Deb Packages

2010-11-17 Thread Piotr Ożarowski
[Mail-Followup-To set to debian-pyt...@lists.debian.org] [Damian Johnson, 2010-11-16] My project currently installs to the default '/usr/share/pyshared' [2] but /usr/share/pyshared is Debian tools' internal location and you should not use it (i.e. it's not and will never be in sys.path)

Re: [Distutils] Python Deb Packages

2010-11-17 Thread Damian Johnson
/usr/share/pyshared is Debian tools' internal location and you should not use it Great, thanks Piotr for the clarification. /usr/share/binary_package_name/ to be exact --install-lib=/usr/share/yourpackagename/ --install-data=/usr/share/yourpackagename/ (and maybe

Re: [Distutils] Where should I put my tests in my package?

2010-11-17 Thread Marius Gedminas
On Wed, Nov 17, 2010 at 10:14:13AM -0500, W. Matthew Wilson wrote: I have a few questions: 1. I would like to put lots of tests/ folders next to the code they test, rather than at the top level of the project. How do I make sure the tests folders don't get installed? 2. Should I worry

Re: [Distutils] Where should I put my tests in my package?

2010-11-17 Thread Fred Drake
On Wed, Nov 17, 2010 at 10:14 AM, W. Matthew Wilson m...@tplus1.com wrote: 1.  I would like to put lots of tests/ folders next to the code they test, rather than at the top level of the project.  How do I make sure the tests folders don't get installed? I'm sure there's a way to prevent

[Distutils] Retrieval of python PKG-INFO data for installed packages

2010-11-17 Thread Alan Franzoni
Hello, is it possible to retrieve the same info which is stored in PKG-INFO for an installed package? I've seen this project: http://pypi.python.org/pypi/pkginfo doesn't anything built in setuptools/distribute/pkg_resources achieve a similar result? e.g., while in a lib, I'd like to do

Re: [Distutils] disutils2 tests and python 2.5

2010-11-17 Thread Éric Araujo
- ['README', 'setup.cfg', 'data/data1'] + ['setup.cfg', 'README', 'data/data1'] We need to use the TestCase method that checks for items without respect to order. Regards ___ Distutils-SIG maillist - Distutils-SIG@python.org

Re: [Distutils] Retrieval of python PKG-INFO data for installed packages

2010-11-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/2010 12:18 PM, Alan Franzoni wrote: Hello, is it possible to retrieve the same info which is stored in PKG-INFO for an installed package? I've seen this project: http://pypi.python.org/pypi/pkginfo doesn't anything built in