浏览代码

setuptools_scm: also require it via pyproject.toml

we have this in setup_requires in setup.py, but i also added it to
pyproject.toml - so we can be sure it is installed no matter what.

**configuration** of setuptools_scm is done the old way in setup.py
here in 1.2-maint, in master we have switched that over to pyproject.toml.
Thomas Waldmann 3 年之前
父节点
当前提交
6ab17ee4e1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pyproject.toml

+ 1 - 1
pyproject.toml

@@ -1,3 +1,3 @@
 [build-system]
-requires = ["setuptools", "pkgconfig", "Cython"]
+requires = ["setuptools", "pkgconfig", "Cython", "setuptools_scm>=1.7"]
 build-backend = "setuptools.build_meta"