Skip to content
Sections
>> Trisquel >> Packages >> etiona >> python >> python-versiontools
etiona  ]
[ Source: versiontools  ]

Package: python-versiontools (1.9.1-2)

Smart replacement for plain tuple used in __version__ (Python 2)

versiontools is a Python module providing a smart replacement for plain tuple used in __version__. It has following features:

 * A piece of code that allows you to keep a single version definition inside
   your package or module. No more hacks in setup.py, no more duplicates in
   setup.py and somewhere else. Just one version per package.
 * Version objects can produce nice version strings for released files that
   are compliant with PEP 386. Releases, alphas, betas, development snaphots.
   All of those get good version strings out of the box.
 * Version objects understand the VCS used by your project. Git, Mercurial and
   Bazaar are supported out of the box. Custom systems can be added by 3rd
   party plugins.
 * Version object that compares as a tuple of values and sorts properly.
 * Zero-dependency install! If all you care about is handling setup() to get
   nice tarball names then you don’t need to depend on versiontools (no
   setup_requires, no install_requires!). You will need to bundle a small
   support module though.

This is the Python 2 version of the package.

Other Packages Related to python-versiontools

  • depends
  • recommends
  • suggests
  • dep: python
    interactive high-level object-oriented language (default version)

Download python-versiontools

Download for all available architectures
Architecture Package Size Installed Size Files
all 12.0 kB67 kB [list of files]