Mercurial > hgrepos > Python > apps > py-cutils
annotate setup.py @ 177:089c40240061
Add an alternate implementation for generating directory tree digests:
- Do not use something like os.walk() but use os.scandir() directly.
- Recursively generate the subdirectory digests only when needed and in
the right order.
This fixes that the order of subdirectories in the output did not
match the application order of its directory digests.
The new implementation also should make filtering (that will be
implemented later) easier.
NOTE: The tree digests of the old and the new implementation are identical.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 11 Jan 2025 17:41:28 +0100 |
| parents | bf77784ee288 |
| children |
| rev | line source |
|---|---|
| 29 | 1 #!/usr/bin/env python |
| 2 # -*- coding: utf-8 -*- | |
| 3 | |
|
140
bf77784ee288
Use a declarative setup configuration now in setup.cfg
Franz Glasner <fzglas.hg@dom66.de>
parents:
139
diff
changeset
|
4 from setuptools import setup |
| 29 | 5 |
|
140
bf77784ee288
Use a declarative setup configuration now in setup.cfg
Franz Glasner <fzglas.hg@dom66.de>
parents:
139
diff
changeset
|
6 setup() |
