Commit c04e35b
committed
Remove explicit version specification
This commit removes the explicit listing of the version number in both
__init__.py and setup.py, and replaces the former with the version
number computed by setuptools_scm. As a prerequisite to that, I've added
a configuration item in pyproject.toml to have setuptools_scm write
the version number to a file.
I've imported the version number under the name `VERSION` to keep it
compatibile with previous versions of pytest_localserver. If `version`
is a more standard identifier, we might want to change or add that in
the future.1 parent 0d5a948 commit c04e35b
3 files changed
+4
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
13 | 10 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 11 | | |
20 | 12 | | |
21 | 13 | | |
| |||
30 | 22 | | |
31 | 23 | | |
32 | 24 | | |
33 | | - | |
34 | 25 | | |
35 | 26 | | |
36 | 27 | | |
| |||
0 commit comments