[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-distutils-sig
Subject:    [Distutils] setuptools and bdist_rpm
From:       pje () telecommunity ! com (Phillip J !  Eby)
Date:       2006-12-08 17:58:36
Message-ID: 5.1.1.6.0.20061208125549.03fdcd00 () sparrow ! telecommunity ! com
[Download RAW message or body]

At 11:11 AM 12/8/2006 -0600, Jon Nelson wrote:

>I'm new to setuptools and I'm hoping to have a few questions answered. I
>also have some observations that may be useful, but that can come later.
>
>1. why does setuptools bdist_rpm use
>    --single-version-externally-managed?

To avoid the need for .pth files, mainly.


>2. is it possible to have setuptools write dependency information not
>just to requires.txt but also to setup.cfg so that RPM will be aware of
>the dependencies?

Not really, but you could create a custom egg_info writer that will 
reconfigure the bdist_rpm command at runtime based on that 
information.  See the setuptools documentation for more about egg-info 
writers.  You'll need some understanding of the distutils command framework 
to do this effectively.


>3. This is more of a distutils question, but, what can be done about the
>INSTALLED_FILES containing directories that aren't marked with %dir
>(this causes two problems: /all/ directories end up being created but
>NOT owned by the RPM, and all files /under/ that directory get included,
>which means they likely get included *twice* to to also being explicitly
>included).

Sorry, no clue on that one.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic