File tree Expand file tree Collapse file tree 2 files changed +11
-20
lines changed Expand file tree Collapse file tree 2 files changed +11
-20
lines changed Original file line number Diff line number Diff line change 11[build-system ]
22requires = [
3- " setuptools >= 40 .0.0" ,
4- " wheel >= 0.29 .0" ,
5- " setuptools-scm >= 2, < 4" ,
3+ " setuptools >= 41 .0.0" ,
4+ " wheel >= 0.30 .0" ,
5+ " setuptools_scm[toml]>=3. 4" ,
66]
77build-backend = ' setuptools.build_meta'
88
9+ [tool .setuptools_scm ]
10+ write_to = " src/virtualenv/version.py"
11+ write_to_template = """
12+ \"\"\" Version information \"\"\"
13+ __version__ = "{version}"
14+ """
15+
916[tool .black ]
1017line-length = 120
1118
Original file line number Diff line number Diff line change 1- # -*- coding: utf-8 -*-
2- from __future__ import absolute_import , unicode_literals
3-
4- import textwrap
5-
61from setuptools import setup
72
8- setup (
9- use_scm_version = {
10- "write_to" : "src/virtualenv/version.py" ,
11- "write_to_template" : textwrap .dedent (
12- """
13- # coding: utf-8
14- from __future__ import unicode_literals
15- __version__ = {version!r}
16- """
17- ).lstrip (),
18- }
19- )
3+ setup ()
You can’t perform that action at this time.
0 commit comments