Skip to main content

collect-bin-deps.py

A tool to collect binary dependencies - typically shared libraries required by an executable.

Requirements

  • pefile, pyelftools package

Usage

Simplest case:

collect-bin-deps.py -t <my exe file> <directory with dependency>...

Notes

  • The "debug info" doesn't try to locate the debug info file using the information contained in the binaries or so, it just looks for files with the same basename as a dependency but with extensions used for debug info files.

Limitations

  • Currently supports Windows (PE) and Linux (ELF) binaries.

Inspiration

vcpkg can provide this functionality out of the box, realized with a PowerShell script. collect-bin-deps.py qs written from scratch to provide the same functionality.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collect-bin-deps-0.0.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

collect_bin_deps-0.0.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file collect-bin-deps-0.0.1.tar.gz.

File metadata

  • Download URL: collect-bin-deps-0.0.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for collect-bin-deps-0.0.1.tar.gz
Algorithm Hash digest
SHA256 61dec4f2f3031077021f006aa87a9298fe982d221c7a1accfde549487749ffbd
MD5 48558eb2a084a8bc3bcfa9143123930a
BLAKE2b-256 48d760c47ff1879f4867612833578e0620de4be0d20611d95641a790bb530da4

See more details on using hashes here.

File details

Details for the file collect_bin_deps-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: collect_bin_deps-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for collect_bin_deps-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 64586413e997fe8e7df60d318b5bb6acc9cb998be658d9f2095ec609fa7f02a7
MD5 6c64e14ff4ba62679062bac6c7a3391f
BLAKE2b-256 2821beb633fb8fae4b981b76c2c2f328ab6a68e127f13e6e2522a15aeff68573

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.2

2 files

This release

0.0.1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page