From f5454ba123994595d39990f129ee9a7f89f80db4 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Sat, 6 Aug 2016 13:47:37 +0100 Subject: [PATCH] setup.py: use version from setuptools_scm setuptools_scm handles managing python package versions using git metadata instead of declaring them as the version argument or in a git-managed file. https://github.com/pypa/setuptools_scm --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 87026270e..a11f19038 100755 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ TrueType/OpenType fonts to and from an XML-based format. setup( name="fonttools", - version="3.1.0", + use_scm_version=True, description="Tools to manipulate font files", author="Just van Rossum", author_email="just@letterror.com", @@ -58,6 +58,9 @@ setup( data_files=[ ('share/man/man1', ["Doc/ttx.1"]) ] if sys.platform.startswith('linux') else [], + setup_requires=[ + "setuptools_scm>=1.11.1", + ], entry_points={ 'console_scripts': [ "ttx = fontTools.ttx:main",