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.

Release files for collect-bin-deps 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collect-bin-deps 0.0.2
File Size Uploaded
collect-bin-deps-0.0.2.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for collect-bin-deps 0.0.2
File Interpreter ABI Platform
collect_bin_deps-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.3 kB

Release files / collect-bin-deps-0.0.2.tar.gz

Download URL collect-bin-deps-0.0.2.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0e263d5ee95ec77c6f1c20afd46f184edaa38f5df247046cc82cd9ed0e6a6be5
BLAKE2b-256 checksum
How to use checksums
4dd339949f9ed80ee8399d4d84b8bb10b23ca9417fe807a7c1c6a892f5488e63
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / collect_bin_deps-0.0.2-py3-none-any.whl

Download URL collect_bin_deps-0.0.2-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa0ccb83a5be93dea1b5cffe081fc803d9c2e3d14698aacb1aff9f5292fcf8d7
BLAKE2b-256 checksum
How to use checksums
efe8447f083a7870aa818e9d6d03f72483afbe188b4c3dc869a20e63f37ff1b0
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release 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