bndr / bndr/pipreqs

Generate requirements.txt file for multi path

Open
#359 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.5k
Forks
424
PR merge metrics
No merged PRs in 30d

Description

My project has an src directory and a tests directory, I want to generate a requirements.txt file of them like this:
```
pipreqs src tests
```
But it doesn't seem to support the pass multi directory at once right now.

Contributor guide

Open the contributing guide

Research direction

Start at the pipreqs command entry point and inspect how its current path argument is parsed. Try the requested `pipreqs src tests` invocation against a project with both directories, then make completion mean that imports from both paths are represented in the generated requirements.txt file.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.