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: Sebastian Hilbert
Subject: Re: [Gnumed-devel] first crack at distutils setup.py
Date: Sat, 21 Feb 2004 11:35:51 +0100
User-agent: KMail/1.6

I guess I need to take another look at distutils.

On Saturday 21 February 2004 08:22, 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
>
>
> There are some other things distutils can do, like create a windows
> executable installer, or create an RPM automatically.  More to come.
> Hack away.
>
> David

-- 
Sebastian Hilbert 
Leipzig / Germany
[www.openmed.org] -> PGP welcome, HTML ->/dev/null
ICQ: 86 07 67 86   -> No files, no URL's
My OS: Suse Linux. Geek by Nature, Linux by Choice




reply via email to

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