Python packaging usabilty (distutils) - automatic downloadingrequired packages

Discussion in 'Python' started by XLiIV, Feb 25, 2012.

  1. XLiIV

    XLiIV Guest

    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?
     
    XLiIV, Feb 25, 2012
    #1
    1. Advertising

  2. 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
     
    Stefan Behnel, Feb 25, 2012
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Christian Seberino

    distutils (packaging) newbie questions please....

    Christian Seberino, Oct 1, 2003, in forum: Python
    Replies:
    4
    Views:
    416
    Christian Seberino
    Oct 7, 2003
  2. Fuzzyman
    Replies:
    5
    Views:
    2,987
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Mar 12, 2005
  3. timw.google
    Replies:
    1
    Views:
    563
    Serge Orlov
    May 11, 2006
  4. Luis Alberto Zarrabeitia Gomez

    distutils, No module named numpy.distutils.fcompiler.conv_template

    Luis Alberto Zarrabeitia Gomez, Mar 30, 2009, in forum: Python
    Replies:
    0
    Views:
    1,357
    Luis Alberto Zarrabeitia Gomez
    Mar 30, 2009
  5. David Lyon
    Replies:
    19
    Views:
    609
    David Lyon
    Apr 24, 2009
Loading...

Share This Page