Adding a build-depend on pybuild-plugin-pyproject results in the following:

- a public Python module, not private;
- bin/doh-cli script was not installed, because of this, a dangling link was formed in /usr/bin/doh-cli.

Possible reasons are outdated setup.py and non-existence of pyproject.toml in upstream.

git: https://github.com/ermakov0/doh-cli/tree/debian/latest

$ tree usr/
usr/
├── bin
│   └── doh-cli -> ../share/doh-cli/doh-cli -- dangling link (!)
├── lib
│   └── python3
│       └── dist-packages
│           ├── doh_cli                     -- public Python module (!!)
│           │   ├── __init__.py
│           │   └── resolve.py
│           └── doh_cli-0.8.dist-info
│               ├── INSTALLER
│               ├── METADATA
│               ├── top_level.txt
│               └── WHEEL
└── ...

doh-cli_0.8-2_all.deb:

$ tree usr/
usr/
├── bin
│   └── doh-cli -> ../share/doh-cli/doh-cli
└── share
    ├── ...
    ├── doh-cli
    │   ├── doh-cli                             -- bin/doh-cli script
    │   ├── doh_cli                             -- private Python module
    │   │   ├── __init__.py
    │   │   └── resolve.py
    │   └── doh_cli-0.8.egg-info
    │       ├── dependency_links.txt
    │       ├── not-zip-safe
    │       ├── PKG-INFO
    │       ├── requires.txt
    │       └── top_level.txt
    ├── ...
    └── python3
        └── runtime.d
            └── doh-cli.rtupdate

--
Alexander Ermakov

Reply via email to