Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Libraries

    xdistutils 0.2.0

    Download button

    No screenshots available
    Downloads: 56  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Ralf Schmitt | More programs
    Other/Proprietary Li... / FREE
    February 13th, 2012, 20:35 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    xdistutils description

    Provides useful distutils commands

    xdistutils is a Python module that provides a recompress command for Python's setup.py scripts. It uses the advancecomp package in order to achieve better compression on .zip, .egg and .tar.gz files. Other extensions for distutils may be included in future xdistutils releases.

    Installation

    xdistutils can be installed with pip or easy_install. In order to enable the recompress command, you'll have to register the package with distutils. This can be done by adding the following to ~/.pydistutils.cfg:

    [global]
    command-packages=xdistutils


    The recompress command

    Every setup.py script now understands a recompress command, which will call advzip or advdef on any .zip, .egg or .tar.gz file generated by previous commands:

    > python setup.py sdist bdist_egg recompress
    running sdist
    make: Nothing to be done for `all'.
    running check
    reading manifest template 'MANIFEST.in'
    writing manifest file 'MANIFEST'
    creating gevent-1.0dev
    creating gevent-1.0dev/c-ares
    ...
    writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
    creating 'dist/gevent-1.0dev-py2.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
    removing 'build/bdist.linux-x86_64/egg' (and everything under it)
    running recompress
    advzip -z -4 dist/gevent-1.0dev.zip
     1300236 1243960 95% dist/gevent-1.0dev.zip
     1300236 1243960 95%
    advzip -z -4 dist/gevent-1.0dev-py2.7-linux-x86_64.egg
     366596 354053 96% dist/gevent-1.0dev-py2.7-linux-x86_64.egg
     366596 354053 96%



    Product's homepage

    Requirements:

    · Python
    · AdvanceCOMP

      


    TAGS:

    distutils commands | Python library | recompress command | Python | distutils | commands



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM