[Distutils] setuptools and picard
Pavel Volkovitskiy
int at mtx.ru
Thu Jul 6 09:37:34 CEST 2006
On Wednesday 05 July 2006 19:16, you wrote:
> >I'm trying to install picard (http://musicbrainz.org/wd/PicardDownload)
> > with python -c "import setuptools;execfile('setup.py')" install
> >--single-version-externally-managed --root=/path/to/root
> >but it breaks with:
> >usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
> > or: -c --help [cmd1 cmd2 ...]
> > or: -c --help-commands
> > or: -c cmd --help
> >
> >error: option --single-version-externally-managed not recognized
> >
> >Is that ok and i should use ./setup.py without "import
> >setuptools;execfile('setup.py')" hack, or if this a bug in setuptools that
> >should be fixed?
>
> I'm having trouble reproducing the problem, as this tarball:
>
> https://helixcommunity.org/download.php/1791/picard-0.6.0.tar.gz
>
> doesn't appear to contain a setup.py. Could you give me some more
> information about what package you are installing from and where its
> setup.py is coming from?
Sorry, i dind't say, i use 0.7.0-beta3 version
https://helixcommunity.org/download.php/2009/picard-0.7.0-beta3.tar.gz
>
> (By the way, --root implies --single-version-externally-managed, so you
> don't need to use the latter if you are using the former. However, you
> should only be using --root if you are planning to copy the contents of
> /path/to/root *to* the actual root, /. Usually this option is used in
> conjunction with a packaging tool such as RPM. If you aren't planning to
> copy /path/to/root to /, you shouldn't be using --root either.)
Yeah, i want to make a package.
thanks for tip, i wan't use --single-... for manual tests :)
(but i'll use it for packae building as it helps to find errors like this)
--
Pavel
More information about the Distutils-SIG
mailing list