Question: is there any way to add additional libraries to the requirements file, which aren't imported anywhere?
Open
- Dominant language
- Python
- Stars
- 7.5k
- Forks
- 424
- PR merge metrics
- No merged PRs in 30d
Description
I want the pipreqs library itself to the requirements file, but without importing it anywhere. Is there any way to do this? Also, I'd rather not add it manually.
Contributor guide
Research direction
The issue names no files, tests, or entry point. First inspect how pipreqs discovers imports and writes requirements.txt, then clarify whether an explicit dependency source is expected. Done would require a defined behavior for including unimported libraries and a corresponding documented or tested result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100