diff --git a/setup.cfg b/setup.cfg index 5512258..2879e46 100644 --- a/setup.cfg +++ b/setup.cfg @@ -9,6 +9,7 @@ dist = build_sphinx sdist bdist_wheel test = pytest [metadata] +version = %%PKGVER%% license_file = License.txt [tool:pytest] @@ -25,9 +26,6 @@ addopts = --doctest-modules --doctest-ignore-import-errors -[options] -setup_requires = setuptools_scm - [egg_info] tag_build = tag_date = 0 diff --git a/setup.py b/setup.py index 328f60e..d04afbc 100755 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( "write_to": 'Lib/fontMath/_version.py', "write_to_template": '__version__ = "{version}"', }, - setup_requires=pytest_runner + wheel + ['setuptools_scm'], + setup_requires=pytest_runner + wheel, tests_require=[ 'pytest>=3.0.3', ],