gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] first crack at distutils setup.py


From: David Grant
Subject: Re: [Gnumed-devel] first crack at distutils setup.py
Date: Sat, 21 Feb 2004 11:49:50 -0500
User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)



Ian Haywood wrote:

On Sat, Feb 21, 2004 at 02:22:43AM -0500, David Grant wrote:
I've added a setup.py and MANIFEST.in 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 setup.py 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 setup.py 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. Volunteers?
That's fine, I can help do this. There is still some work to be done to make this all work.

David




reply via email to

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