Re: setuptools without unexpected downloads



Ben Finney schrieb:
Ben Finney <ben@xxxxxxxxxxxxxxx> writes:

How can I, as the distributor of a package using setuptools, gain
the benefits of dependency declaration and checking, without the
drawback of unexpected and potentially unwanted download and
installation?

To clarify: I want to retain the "assert the specified dependencies
are satisfied" behaviour, without the "... and, if not, download and
install them the Setuptools Way" behaviour.

Instead, I just want the default "dependencies not satisfied"
behaviour for my 'setup.py' program to be: complain the dependencies
aren't met, and refuse to install.

The problem here is that your favorite OS vendor/distributor not necessarily offers the required meta-information - so setuptools can't check the dependencies.

In my opinion, python is steering here to a direction like Java with it's classpath: scripts like workingenv and it's successor (forgot the name) provide hand-tailored environments for a specific application.

So maybe you should rather try and bundle your app in a way that it is self-contained.

Diez
.



Relevant Pages

  • Re: Whats the best package manager for single-package upgrades?
    ... 'upgrade' won't install new packages to meet the new dependencies, ... When I find a backport I want, I add its deb line to my sources.list, ... then an apt-get install of the package. ...
    (Debian-User)
  • re-install to fix dependencies?
    ... did apt-get update then apt-get -t unstable install ... lately it tried to remove sawfish-gnome by ... that but I tried to fix the dependencies many times ...
    (Debian-User)
  • Re: Gnome 2.10 going in to etch today
    ... I think the problem here comes from the way that aptitude marks things ... all it's dependencies that were automatically installed are ... Therefore if you install g-d-e and it pulls in everything for your GNOME ... you think about it) is to mark those packages that you use as MANUALLY ...
    (Debian-User)
  • Re: setuptools without unexpected downloads
    ... download and install them the Setuptools Way" behaviour. ... I just want the default "dependencies not satisfied" ... setuptools scope to cope with every imaginable package management system ...
    (comp.lang.python)
  • Re: Linux Vs. FreeBSD
    ... >> has made a lot of effort towards making it easy to install. ... Debian's not a bad distro. ... although packages like this are few and far between. ... since the binary dependencies certainly wouldn't be any ...
    (comp.os.linux.misc)