Skip to content

improve how hupper determines what is system code or user code #62

Description

@mmerickel

Hupper tries to avoid monitoring all system code loaded into a process due to #40. We do want to monitor user code however. The four ways I'm aware of right now to develop "user" code:

  • ensure folder is in PYTHONPATH
  • pip install -e . installs a .pth file in site-packages which means the code continues to live properly wherever it is checked out.
  • developing inside a virtualenv - some people do this so they can use bin/python
  • symlinking the folder containing the code into site-packages which is done manually or using flit install --symlink and I imagine poetry install will also do this.

We want to try to count all of these scenarios as user code that is monitored and only ignore stuff that is third party installed directly into site-packages or stuff that is part of the virtualenv / system python.

related: #40 #41 #42 #60 #61

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions