[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] first crack at distutils

From: Ian Haywood
Subject: Re: [Gnumed-devel] first crack at distutils
Date: Sat, 21 Feb 2004 20:49:29 +1100
User-agent: Mutt/

On Sat, Feb 21, 2004 at 02:22:43AM -0500, David Grant wrote:
> I've added a and file which uses distutils to do 
> two things (which are built-in distutils behaviour):
> 1. Create a tarball for distribution (this is for developers to make 
> releases)
> 2. Install gnumed into a users system, by specifying a prefix like /usr 
> and a root like / or /builds/test/gnumed/image (end users and/or packagers)
> Run:
> python sdist
> to create the tarball in a directory called dist by default
> You can go into ./dist and try it out:
> tar zxvf Gnumed-0.1.tar.gz
> python install --prefix /usr --root ./image
This works to install, but it won't run: gnumed can't find the 
modules under 
/lib/python2.3/site-packages, to use this all the gnumed
source files need to change their import commands as you said. 


PGP public key E750652E at
9BF0 67B7 F84F F7EE 0C42  C063 28FC BC52 E750 652E

reply via email to

[Prev in Thread] Current Thread [Next in Thread]