Skip to main content

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')

Project details


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.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page