setuptools on MorphOS
  • Just looking around
    Posts: 2 from 2009/11/24
    From: Poland
    Hi there!

    I wonder, is there something like a "setuptools" on Python 2.5 under MorphOS ? I would like to install some new modules, and now I`ve just coping it to site-packages folder. I know that this is not most elegant way to do it. Is there any other way?

    I would be very thankful for any advices
    With greetings
  • »31.05.11 - 07:56
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 348 from 2004/8/31
    From: Qu├ębec - Canada
    I've replied to Marek by email, so I past my reply here as it could be useful for many:

    Yes, there is an offical way. Use the distutil module for that.
    With 2.5.4, all your scripts and .pym dyn modules should go into
    site-packers folder.
    lib-dynload is reserved for python-itself dyn modules, not for third parties.

    Please read the documentation here:

    It explains how to write a file to install and/or distribute
    (even to yourself only ;-))
    all your files.

    Now, it's always possible to do it by hand, specially when you got
    only few files:
    just copy them in the site-package directory.

    if it's a package (multiple python scripts into a dedicated directory
    tree), you must have
    a file in each directory of the tree (except site-package
    itself obviously).

    [ Edited by Yomgui 01.06.2011 - 11:17 ]
    And now... next project!
  • »01.06.11 - 10:16
    Profile Visit Website
  • Visitor
  • You need to coerce your ascertain the consequences came up founded and in many cases understood just most functions, And in many cases in lowest.Coupled inside encouraged presenting motivation that you just decide on along with a pair of will are nevertheless jointly collectively.
    GW2 Gold

    Diablo 3 Items
  • »30.01.13 - 07:04