Skip to content

RFE: add handle --user switch #214

Open
@wuch-g2v

Description

@wuch-g2v

Just found that for some bootstrapping from non-root account on packaging for new major python version it would be good to have handle --user switch like pip provides.
In such scenario on bootstrapping when in build env where is installed only python and necessary .whl archives in /usr/share/python-wheels/.

For example on package as rpm package installer bootstrapping could be performed by:

  • unpack installer source tree
  • install packaging archive /usr/share/python-wheels/packaging-*.whl in user sitelib home directory (by default it is ~/.local/lib/python3.<major_ver>/site-packages with pointing $PYTHONPATH to $PWD/sr
  • unpack /usr/share/python-wheels/installer-*.whl in rpm package %{buildroot} with pointing $PYTHONPATH to $PWD/src
  • because packaging modules is installed rpm post install dependencies generator which uses packaging is able to generate package provides and requires lists.

Possible to add such feature? 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: CLIImprovements or additions to CLItype: featureA self-contained enhancement or new feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions