Git Product home page Git Product logo

copydeps's People

Contributors

dependabot[bot] avatar suve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

copydeps's Issues

Add a "dry run" option

It might be useful to have an option (--dryrun?) for the program where no files are copied, and only the names of the dependencies (both the "bare" and resolved names) are printed.

Add coloured output

The program could produce coloured output when stdout/stderr are attached to the terminal (by using terminal escape codes).

Should this be implemented, a --colour option could also be added to allow the user to override TTY auto-detection.

Add an option to copy stuff to the executable directory

Right now copydeps defaults to copying stuff to the current working directory, instead of the directory of the executable. This means that you basically have to write the full path twice. It would be a good idea to either change this default, or to add some option (--exedir?) that allows to inform the program that it should copy files to the executable directory.

Copydeps cannot resolve any dll

Hello,
I just built my first Rust tool that uses opencv. I'd like to distribute it to some friends but don't want them to get through the hassle of getting all the required .dll so your tool seems perfect to bundle the libraries with the .exe.

I installed copydeps via cargo install copydeps and tried to run copydeps absolute_path_to_my.exe.
I got the output :

copydeps: failed to resolve "MSVCP140.dll"
copydeps: failed to resolve "VCRUNTIME140.dll"
copydeps: failed to resolve "VCRUNTIME140_1.dll"
copydeps: failed to resolve "api-ms-win-crt-heap-l1-1-0.dll"
copydeps: failed to resolve "api-ms-win-crt-locale-l1-1-0.dll"
copydeps: failed to resolve "api-ms-win-crt-math-l1-1-0.dll"
copydeps: failed to resolve "api-ms-win-crt-runtime-l1-1-0.dll"
copydeps: failed to resolve "api-ms-win-crt-stdio-l1-1-0.dll"
copydeps: failed to resolve "api-ms-win-crt-string-l1-1-0.dll"
copydeps: failed to resolve "bcrypt.dll"
copydeps: failed to resolve "opencv_world470.dll"

when I use the dependency_runner crate with the command deprun path_to_my.exe I get the correct path to de dlls.

If i have to manually copy/paste paths to copydeps from deprun, it would be the same as copying them by hand. Do you have any idea of how to fix this issue?

Add a "no overwite" option

It might be useful to have an option for the program which tells it not to overwrite .so / .dll files already existing in the target directory.

Recursive folder search

How difficult do you think it would be to modify this to recursively search folders including executable directly and not only get dependencies for exe but dlls that are in that folder and subfolders as well for windows?

Windows dumpbin /dependents for example can do exe's and dll dependencies.

Add a launcher/wrapper script

Currently (as of v.4.0) the program needs to be installed before it can be used - trying to launch copydeps/copydeps.py gives an error about copydeps not being a valid package name.

Add a simple launcher/wrapper script to the main directory so people who don't want to deal with all the easy_install bullshit have an easier time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.