File tree Expand file tree Collapse file tree 3 files changed +14
-9
lines changed Expand file tree Collapse file tree 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 =
3636[options]
3737packages = pytest_django
3838python_requires = >=3.5
39- setup_requires = setuptools_scm>=1.11.1
39+ setup_requires = setuptools_scm>=5.0.0
4040install_requires = pytest>=5.4.0
4141zip_safe = no
4242
@@ -62,9 +62,6 @@ addopts = --strict-markers -ra
6262DJANGO_SETTINGS_MODULE = pytest_django_test.settings_sqlite_file
6363testpaths = tests
6464
65- [wheel]
66- universal = 0
67-
6865[flake8]
6966# W503 line break before binary operator
7067ignore = W503
Original file line number Diff line number Diff line change 11from setuptools import setup
22
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