File tree Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+
3
+ python :
4
+ version : 3.7
5
+ install :
6
+ - requirements : doc/en/requirements.txt
7
+ - method : pip
8
+ path : .
9
+
10
+ formats :
11
+ - epub
12
+ - pdf
Original file line number Diff line number Diff line change 1
1
[build-system ]
2
2
requires = [
3
3
# sync with setup.py until we discard non-pep-517/518
4
- " setuptools>=40 .0" ,
5
- " setuptools-scm" ,
4
+ " setuptools>=42 .0" ,
5
+ " setuptools-scm[toml]>=3.4 " ,
6
6
" wheel" ,
7
7
]
8
8
build-backend = " setuptools.build_meta"
9
9
10
+ [tool .setuptools_scm ]
11
+ write_to = " src/_pytest/_version.py"
12
+
10
13
[tool .pytest .ini_options ]
11
14
minversion = " 2.0"
12
15
addopts = " -rfEX -p pytester --strict-markers"
Original file line number Diff line number Diff line change 1
1
from setuptools import setup
2
2
3
-
4
- def main ():
5
- setup (use_scm_version = {"write_to" : "src/_pytest/_version.py" })
6
-
7
-
8
3
if __name__ == "__main__" :
9
- main ()
4
+ setup ()
You can’t perform that action at this time.
0 commit comments