File: deb_materialization.py

package info (click to toggle)
debputy 0.1.82
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,796 kB
  • sloc: python: 67,023; sh: 164; perl: 155; makefile: 57; ansic: 16
file content (15 lines) | stat: -rwxr-xr-x 376 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/python3 -B
import pathlib
import sys

# Replaced during install; must be a single line
# fmt: off
DEBPUTY_ROOT_DIR = pathlib.Path(__file__).parent / 'src'
# fmt: on

if __name__ == "__main__":
    # setup PYTHONPATH: add our installation directory.
    sys.path.insert(0, str(DEBPUTY_ROOT_DIR))
    from debputy.commands.deb_materialization import main

    main()