Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #20855 > unrolled thread

Python packaging usabilty (distutils) - automatic downloading required packages

Started byXLiIV <tymoteusz.jankowski@gmail.com>
First post2012-02-25 06:47 -0800
Last post2012-02-25 16:29 +0100
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Python packaging usabilty (distutils) - automatic downloading required packages XLiIV <tymoteusz.jankowski@gmail.com> - 2012-02-25 06:47 -0800
    Re: Python packaging usabilty (distutils) - automatic downloading required packages Stefan Behnel <stefan_ml@behnel.de> - 2012-02-25 16:29 +0100

#20855 — Python packaging usabilty (distutils) - automatic downloading required packages

FromXLiIV <tymoteusz.jankowski@gmail.com>
Date2012-02-25 06:47 -0800
SubjectPython packaging usabilty (distutils) - automatic downloading required packages
Message-ID<9e4490eb-d6ab-468c-986f-a5017a0165fe@em9g2000vbb.googlegroups.com>
There is many packaging solutions for python.
I was confused about that but it's nothing. I had to pick one of them.
I picked distutils because it's part of standard python since 3.3, am
i right?
My goal is to write setup.py with this feature: 'download required
package if not installed already, like sqlalchemy'.
How can I achieve that with DISTUTILS?
I found out that  is not possible, seriously? I can't believe that.
It's basic function, I think.
Do I really switch to setuptools?

[toc] | [next] | [standalone]


#20856

FromStefan Behnel <stefan_ml@behnel.de>
Date2012-02-25 16:29 +0100
Message-ID<mailman.155.1330183800.3037.python-list@python.org>
In reply to#20855
XLiIV, 25.02.2012 15:47:
> There is many packaging solutions for python.
> I was confused about that but it's nothing. I had to pick one of them.
> I picked distutils because it's part of standard python since 3.3, am
> i right?

Distutils has been part of Python's stdlib for ages.


> My goal is to write setup.py with this feature: 'download required
> package if not installed already, like sqlalchemy'.
> How can I achieve that with DISTUTILS?
> I found out that  is not possible, seriously? I can't believe that.
> It's basic function, I think.
> Do I really switch to setuptools?

No, use "distribute" instead.

Stefan

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web