Skip to content

PEP 370 #46132

Closed
Closed

Description

@tiran
BPO 1799
Nosy @gpshead, @jcea, @tiran
Files
  • pep370.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2008-05-08.20:44:14.339>
    created_at = <Date 2008-01-11.21:23:28.300>
    labels = ['type-feature', 'library']
    title = 'PEP 370'
    updated_at = <Date 2008-05-08.20:44:14.338>
    user = 'https://github.com/tiran'

    bugs.python.org fields:

    activity = <Date 2008-05-08.20:44:14.338>
    actor = 'christian.heimes'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-05-08.20:44:14.339>
    closer = 'christian.heimes'
    components = ['Distutils', 'Library (Lib)']
    creation = <Date 2008-01-11.21:23:28.300>
    creator = 'christian.heimes'
    dependencies = []
    files = ['10199']
    hgrepos = []
    issue_num = 1799
    keywords = ['patch']
    message_count = 6.0
    messages = ['59754', '59871', '59883', '59989', '66281', '66448']
    nosy_count = 3.0
    nosy_names = ['gregory.p.smith', 'jcea', 'christian.heimes']
    pr_nums = []
    priority = 'critical'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue1799'
    versions = ['Python 2.6']

    Activity

    1. tiran commented on Jan 11, 2008

      @tiran
      MemberAuthor

      The patch adds a per user site-packages directory and a --user option
      for distutils' setup.py install. It also cleans up site.py a bit and
      makes addsitepackages() extensible.

      I'm going to write a mini PEP soonish.

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-featureA feature request or enhancement
      on Jan 11, 2008
    3. tiran commented on Jan 13, 2008

      @tiran
      MemberAuthor

      The new patch adds the -s option, checks for getuid() == geteuid() and
      adds sys.flags (see bpo-1816).

    4. gpshead commented on Jan 14, 2008

      @gpshead
      Member

      nice. ping a mac developer for what to do with the darwin stuff that
      you commented out.

      It'd also be nice to have unit tests for the new behavior. Though i
      don't think we have many (any?) of that type of regression test right
      now. Such a test would need to setup a test user site package,
      os.system another instance python with and without -s to confirm if it
      saw the test site package that was just created or not followed by
      cleaning it all up.

    5. tiran commented on Jan 16, 2008

      @tiran
      MemberAuthor

      Future patches will be applied to the branch directly:

      http://svn.python.org/view/sandbox/trunk/pep370

    6. tiran commented on May 5, 2008

      @tiran
      MemberAuthor

      The new patch applies cleanly in the trunk.

    7. changed the title [-]Per user site-packages and setup.py install --user patch[/-] [+]PEP 370[/+] on May 5, 2008
    8. tiran commented on May 8, 2008

      @tiran
      MemberAuthor

      The PEP-370 has been accepted and the patch has been applied.

    9. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions