utility lib to generate python package version infos from mercurial tags
Project description
hgdistver
~~~~~~~~~
This module is a simple drop-in to support setup.py
in mercurial based projects.
Its supposed to generate version numbers from mercurials metadata
and optionally store them in a cache file which may be a text or python
However using cachefiles is strongly suggested,
cause distutils/setuptools won't store version numbers in sdists.
>>> from hgdistver import get_version
>>> version = get_version(cachefile='mypkg/__version__.py')
~~~~~~~~~
This module is a simple drop-in to support setup.py
in mercurial based projects.
Its supposed to generate version numbers from mercurials metadata
and optionally store them in a cache file which may be a text or python
However using cachefiles is strongly suggested,
cause distutils/setuptools won't store version numbers in sdists.
>>> from hgdistver import get_version
>>> version = get_version(cachefile='mypkg/__version__.py')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hgdistver-0.2.tar.gz
(2.4 kB
view hashes)