Python's setuptools is able to build source distributions from Subversion and CVS. But thanks to the wonders of plugins, and in particular the setuptools_hg plugin, you can now build a Python source package using setuptools from a Mercurial repository.