Skip to content

Commit

Permalink
fix setuptools scm usage - let pip handle it
Browse files Browse the repository at this point in the history
  • Loading branch information
RonnyPfannschmidt committed Sep 24, 2021
1 parent d56b335 commit cdcc0f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[build-system]
requires = [
"setuptools",
"setuptools_scm[toml]"

]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def main():
description='library with cross-python path, ini-parsing, io, code, log facilities',
long_description=open('README.rst').read(),
use_scm_version={"write_to": "py/_version.py"},
setup_requires=["setuptools_scm~=3.4"], # required due to legacy?
setup_requires=["setuptools_scm"],
url='https://py.readthedocs.io/',
license='MIT license',
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
Expand Down

0 comments on commit cdcc0f6

Please sign in to comment.