Commits

Jason R. Coombs committed 156a12a

Updated setup script for mercurial hosting

Comments (0)

Files changed (2)

setup.cfg

-[egg_info]
-tag_build = dev
-tag_svn_revision = true
-from setuptools import setup, find_packages
-import sys, os
+from setuptools import find_packages
 
-version = '1.0'
-
-setup(
+setup_params = dict(
 	name='jaraco.office',
-	version=version,
+	use_hg_version=True,
 	description="Utility library for working with MS Office documents",
 	keywords='excel office word'.split(),
 	author='Jason R. Coombs',
 			'doc-to-pdf = jaraco.office.word:doc_to_pdf_cmd',
 			'doc-to-pdf-server = jaraco.office.convert:ConvertServer.start_server',
 		],
-	)
-	)
+	),
+	setup_requires = [
+		'hgtools',
+	],
+)
+
+if __name__ == '__main__':
+	from setuptools import setup
+	setup(**setup_params)