File tree 4 files changed +5
-15
lines changed
4 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,6 @@ Installation
137
137
required:
138
138
139
139
- `build `_ (>=0.6.0)
140
- - `setuptools `_ (>=40.8.0)
141
140
142
141
*pathspec * can then be built and installed with::
143
142
@@ -146,7 +145,6 @@ required:
146
145
147
146
.. _`PyPI` : http://pypi.python.org/pypi/pathspec
148
147
.. _`build` : https://pypi.org/project/build/
149
- .. _`setuptools` : https://pypi.org/project/setuptools/
150
148
151
149
152
150
Documentation
Original file line number Diff line number Diff line change @@ -137,7 +137,6 @@ Installation
137
137
required:
138
138
139
139
- `build `_ (>=0.6.0)
140
- - `setuptools `_ (>=40.8.0)
141
140
142
141
*pathspec * can then be built and installed with::
143
142
@@ -146,7 +145,6 @@ required:
146
145
147
146
.. _`PyPI` : http://pypi.python.org/pypi/pathspec
148
147
.. _`build` : https://pypi.org/project/build/
149
- .. _`setuptools` : https://pypi.org/project/setuptools/
150
148
151
149
152
150
Documentation
Original file line number Diff line number Diff line change @@ -50,16 +50,16 @@ def generate_setup_cfg() -> None:
50
50
'long_description_content_type' : "text/x-rst" ,
51
51
'name' : config ['project' ]['name' ],
52
52
'url' : config ['project' ]['urls' ]['Source Code' ],
53
- 'version' : f "attr: { config [ 'tool' ][ 'setuptools' ][ 'dynamic' ][ 'version' ][ 'attr' ] } " ,
53
+ 'version' : "attr: pathspec._meta.__version__ " ,
54
54
}
55
55
output ['options' ] = {
56
56
'packages' : "find:" ,
57
57
'python_requires' : config ['project' ]['requires-python' ],
58
- 'setup_requires' : ", " . join ( config [ 'build-system' ][ 'requires' ]) ,
58
+ 'setup_requires' : "setuptools>=40.8.0" ,
59
59
'test_suite' : "tests" ,
60
60
}
61
61
output ['options.packages.find' ] = {
62
- 'include' : ", " . join ( config [ 'tool' ][ 'setuptools' ][ 'packages' ][ 'find' ][ 'include' ])
62
+ 'include' : "pathspec, pathspec.*" ,
63
63
}
64
64
65
65
with open ("setup.cfg" , 'w' , encoding = 'utf8' ) as fh :
Original file line number Diff line number Diff line change 1
1
[build-system ]
2
- build-backend = " setuptools.build_meta "
3
- requires = [" setuptools>=40.8.0 " ]
2
+ build-backend = " flit_core.buildapi "
3
+ requires = [" flit_core >=3.2,<4 " ]
4
4
5
5
[project ]
6
6
authors = [
@@ -34,9 +34,3 @@ requires-python = ">=3.7"
34
34
"Source Code" = " https://github.com/cpburnz/python-pathspec"
35
35
"Documentation" = " https://python-path-specification.readthedocs.io/en/latest/index.html"
36
36
"Issue Tracker" = " https://github.com/cpburnz/python-pathspec/issues"
37
-
38
- [tool .setuptools .dynamic ]
39
- version = {attr = " pathspec._meta.__version__" }
40
-
41
- [tool .setuptools .packages .find ]
42
- include = [" pathspec" , " pathspec.*" ]
You can’t perform that action at this time.
0 commit comments