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 > Version Control

    hgdistver 0.15

    Download button

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

    License / Price:

    Last Updated:

    Category:
    hgdistver developers | More programs
    MIT/X Consortium Lic... / FREE
    May 19th, 2012, 06:32 GMT
    ROOT / Programming / Version Control

     Read user reviews (0)  Refer to a friend  Subscribe

    hgdistver description

    Utility lib to generate Python package version infos from mercurial tags

    hgdistver is a Python module, a simple drop-in to support setup.py in mercurial based projects.

    Its supposed to generate version numbers from mercurials metadata.

    it uses 4 stategies to archive its taks:

     1. try to directly ask hg for the metadata
     2. try to infer it from the .hg_archival.txt file
     3. try to use the cachefile if it exists
     4. try to read the version from the 'PKG-INFO' file sdists contain

    the most simple usage is:

    from setuptools import setup
    from hgdistver import get_version
    setup(
     ...,
     version=get_version(),
     ...,
    )


    get_version takes the optional argument cachefile, which causes it to store the version info in a python script instead of abusing PKG-INFO from a sdist


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    mercurial tags | version control | package version | Python | package | version



    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