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
This commit is contained in:
parent
375785ca2a
commit
f5454ba123
5
setup.py
5
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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user