use the intended setuptools_scm integration pattern
as per https://setuptools-scm.readthedocs.io/en/latest/#with-setuptools i'd appreciate details on how the usage of dynamic and get-version came to be
This commit is contained in:
committed by
GitHub
parent
609d09bb74
commit
499b44115f
+1
-2
@@ -44,8 +44,6 @@ docs = ['sphinx',
|
||||
ci = ['pytest-xdist', 'diff_cover']
|
||||
[tool.setuptools]
|
||||
zip-safe = true
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = 'setuptools_scm.get_version'}
|
||||
[tool.setuptools.packages]
|
||||
find = {namespaces = false}
|
||||
[tool.flake8]
|
||||
@@ -53,6 +51,7 @@ select = ['E101', 'E111', 'E112', 'E113', 'E501', 'E703', 'E712', 'E713',
|
||||
'W191', 'W291', 'W292', 'W293', 'W391']
|
||||
exclude = ['.eggs', '.git']
|
||||
max_line_length = 200
|
||||
[tool.setuptools_scm]
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ['mpmath', 'docs']
|
||||
doctest_optionflags = ['IGNORE_EXCEPTION_DETAIL', 'ELLIPSIS']
|
||||
|
||||
Reference in New Issue
Block a user