WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] make dist and python files

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] make dist and python files
From: Arun Sharma <arun.sharma@xxxxxxxxx>
Date: Tue, 11 Jan 2005 10:29:07 -0800
Delivery-date: Tue, 11 Jan 2005 18:30:16 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.8 (Windows/20040913)

In the xeno-unstable tree,

# make install

populates python files in /usr/lib/python2.3/site-packages/xen

However,

# make dist

populates them in

dist/install/lib/python

For people trying to package up Xen into an installable object (rpm/deb whatever) this creates a problem.

So my question is, why not have

# make dist

also populate

dist/install/usr/lib/python2.3/site-packages/xen

Of course, this won't work for situations where the build machine and the target machine have a different version of python.

Relevant snippet from tools/python/Makefile:

install: all
        if [ "$(prefix)" = "" ]; then                   \
            python setup.py install;                    \
        elif [ "$(dist)" = "yes" ]; then                \
            python setup.py install --home="$(prefix)"; \
        else                                            \
            python setup.py install --root="$(prefix)"; \
        fi

        -Arun



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>