소스 검색

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]
 [build-system]
-requires = ["setuptools", "pkgconfig", "Cython"]
+requires = ["setuptools", "pkgconfig", "Cython", "setuptools_scm>=1.7"]
 build-backend = "setuptools.build_meta"
 build-backend = "setuptools.build_meta"