Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/pipPublic

Support --target installations with pip freeze #6404

Closed
Labels
C: freeze'pip freeze' relatedauto-lockedOutdated issues that have been locked by automationtype: enhancementImprovements to functionality
@lkollar

Description

@lkollar

What's the problem this feature will solve?

List all dependencies withpip freeze which have been installed into an arbitrary directory withpip install --target.

Describe the solution you'd like

pip freeze should have a--target option and take a path to an installation path to work out the installed dependencies in that directory. It should probably also honour the--local flag and skip globally installed packages if specified, just like with virtualenvs, or implicitly disable global site altogether.

I would like to install an application's dependencies into a target directory and then generate arequirements.txt based on the installed packages. At the moment I can only do this if I install the dependencies with--user, inside a virtualenv or by globally installing them.

Alternative Solutions

As far as I know there is no alternative solution to resolve the transitive dependencies and generate arequirements.txt based on a target installation directory.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: freeze'pip freeze' relatedauto-lockedOutdated issues that have been locked by automationtype: enhancementImprovements to functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp