On Mon, Mar 29 2010, Jakub Wilk wrote:

>>
>>> - the binary packages uses obsolete (pre-0.90) python-support
>>>    directory layout.
>>
>>        Can you point me to the documentation that shows the new
>> python-support directory layout? I seem to have missed the migration.
>
> There is a cursory description of the new layout in
> /usr/share/doc/python-support/README.gz, section "How does it work?"

        That seems pretty vague, and does not actually define an
 interface for packagers to follow.  Here it is, in its entirety:

,----
| Python-support looks for modules in /usr/share/python-support.
|  * Private modules (.py files that shouldn't be installed in the default 
|    sys.path) are handled through a foo.private file, which contains a list 
|    of files to bytecompile. If the header of the foo.private file contains
|    a "pyversion=..." field, they will be bytecompiled with the Python
|    version described here, otherwise the current Python version will be
|    used.
|  * Public modules (.py files that should be installed in the default 
|    sys.path) are handled through a foo.public file, which contains a 
|    list of files to install. The files are normally installed in
|    /usr/share/pyshared/. They will be installed and bytecompiled in each
|    Python specific directory: /usr/lib/pymodules/pythonX.Y/. If the header
|    of the foo.public file contains a "pyversions=..." field, it will be 
|    parsed for the list of python versions the module supports. It should 
|    look like e.g.:
|         2.2,2.4-
|    for a package supporting python2.2, and all versions starting from 
|    python2.4.
|  * Public extensions (.so files) are handled just like public modules: 
|    they are listed in the foo.public file. However, extensions for each
|    pythonX.Y will be located in /usr/lib/pyshared/pythonX.Y/, while they
|    are installed in /usr/lib/pymodules/pythonX.Y together with the
|    corresponding modules.
`----

        Where is this foo.public thing defined?

        manoj

-- 
Before borrowing money from a friend, decide which you need
more. Addison H. Hallock
Manoj Srivastava <sriva...@acm.org> <http://www.golden-gryphon.com/>  
4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20  05B6 CF48 9438 C577 9A1C



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to