pipreqs icon indicating copy to clipboard operation
pipreqs copied to clipboard

Please allow using this project a library

Open oz123 opened this issue 3 years ago • 5 comments

This project is very useful also as a library. For example, pipenv uses it here:

https://github.com/pypa/pipenv/blob/4fa67914f7562db947e1b30875cf96a709e8f4f5/pipenv/core.py#L219

Because of the top level import of docopt, it must also pull docopt as a dependecy. It would be really nice if we could remove this dependency.

oz123 avatar Jan 13 '22 10:01 oz123

Just noticed that there is another PR that suggested this:

https://github.com/bndr/pipreqs/pull/253.

However, it regards two dependencies, and does not modify setup.py. Let's start with this one, first remove docopt, and later yarg.

oz123 avatar Jan 13 '22 10:01 oz123