indygreg / indygreg/PyOxidizer

Feature: add an option for sys.flags.no_user_site=0

Open
#430 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
6.2k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

It looks like this is what disables looking in the user site package. The only reference to this variable is in a test checking that it is 1, so it's evidently on purpose. However, it would be useful to make the user site available for loading Mercurial extensions. The py2 builds already look there, so not having this is a bit of a regression.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the test that is the only reference to sys.flags.no_user_site and trace how that flag is set in the PyOxidizer build. Compare the behavior with the py2 builds and verify that the user site is available for loading Mercurial extensions without breaking the existing flag test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.