Mercurial > hgrepos > Python > apps > py-cutils
changeset 141:fdc456832ba6
For now: require the scandir package if "treesum" or "all" is specified as extra and Python is < 3.5
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 03 Jan 2025 01:33:01 +0100 |
| parents | bf77784ee288 |
| children | 71747e45b52c |
| files | setup.cfg |
| diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.cfg Fri Jan 03 01:06:19 2025 +0100 +++ b/setup.cfg Fri Jan 03 01:33:01 2025 +0100 @@ -43,6 +43,12 @@ cutils cutils.util +[options.extras_require] +treesum = + scandir>=1.10;python_version<"3.5" +all = + scandir>=1.10;python_version<"3.5" + [options.entry_points] console_scripts = py-dos2unix = cutils.dos2unix:main
