mirror of
https://github.com/borgbackup/borg.git
synced 2026-07-16 13:33:03 -04:00
setup.py: build_api: sort file list for determinism
# Conflicts:
# docs/api.rst
# setup.py
Original-Commit: e208d115
This commit is contained in:
parent
1fabb2df58
commit
44798e0edd
2 changed files with 5 additions and 1 deletions
|
|
@ -172,6 +172,7 @@ Other changes:
|
|||
|
||||
- language clarification - "borg create --one-file-system" option does not respect
|
||||
mount points, but considers different file systems instead, #2141
|
||||
- setup.py: build_api: sort file list for determinism
|
||||
|
||||
|
||||
Version 1.1.0b3 (2017-01-15)
|
||||
|
|
|
|||
5
setup.py
5
setup.py
|
|
@ -584,10 +584,13 @@ class build_api(Command):
|
|||
print("auto-generating API documentation")
|
||||
with open("docs/api.rst", "w") as doc:
|
||||
doc.write("""
|
||||
.. IMPORTANT: this file is auto-generated by "setup.py build_api", do not edit!
|
||||
|
||||
|
||||
API Documentation
|
||||
=================
|
||||
""")
|
||||
for mod in glob('src/borg/*.py') + glob('src/borg/*.pyx'):
|
||||
for mod in sorted(glob('src/borg/*.py') + glob('src/borg/*.pyx')):
|
||||
print("examining module %s" % mod)
|
||||
mod = mod.replace('.pyx', '').replace('.py', '').replace('/', '.')
|
||||
if "._" not in mod:
|
||||
|
|
|
|||
Loading…
Reference in a new issue