File tree 3 files changed +14
-9
lines changed
3 files changed +14
-9
lines changed Original file line number Diff line number Diff line change
1
+ [build-system ]
2
+ requires = [
3
+ " setuptools>=45.0" ,
4
+ # sync with setup.cfg until we discard non-pep-517/518
5
+ " setuptools-scm[toml]>=5.0.0" ,
6
+ " wheel" ,
7
+ ]
8
+ build-backend = " setuptools.build_meta"
9
+
10
+ [tool .setuptools_scm ]
11
+ write_to = " pytest_django/_version.py"
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ project_urls =
36
36
[options]
37
37
packages = pytest_django
38
38
python_requires = >=3.5
39
- setup_requires = setuptools_scm>=1.11.1
39
+ setup_requires = setuptools_scm>=5.0.0
40
40
install_requires = pytest>=5.4.0
41
41
zip_safe = no
42
42
@@ -62,9 +62,6 @@ addopts = --strict-markers -ra
62
62
DJANGO_SETTINGS_MODULE = pytest_django_test.settings_sqlite_file
63
63
testpaths = tests
64
64
65
- [wheel]
66
- universal = 0
67
-
68
65
[flake8]
69
66
# W503 line break before binary operator
70
67
ignore = W503
Original file line number Diff line number Diff line change 1
1
from setuptools import setup
2
2
3
- setup (
4
- use_scm_version = {
5
- 'write_to' : 'pytest_django/_version.py' ,
6
- },
7
- )
3
+ if __name__ == "__main__" :
4
+ setup ()
You can’t perform that action at this time.
0 commit comments