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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29
c06e438f68b2 Build a real Python package
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
1 #!/usr/bin/env python
c06e438f68b2 Build a real Python package
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
2 # -*- coding: utf-8 -*-
c06e438f68b2 Build a real Python package
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
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
c06e438f68b2 Build a real Python package
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
5
140
bf77784ee288 Use a declarative setup configuration now in setup.cfg
Franz Glasner <fzglas.hg@dom66.de>
parents: 139
diff changeset
6 setup()