Skip to content

cross add Python's library directory when building python standard extensions #61421

Closed

Description

@rpetrov
mannequin
BPO 17219
Nosy @doko42, @merwok, @dstufft
Files
  • 0001-cross-add-current-dir-in-library-path-if-building-py.patch
  • 0002-issue17219-add-current-dir-in-library-path-if-buildi.patch: version 2013-10-01
  • 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 2014-10-02.11:50:54.442>
    created_at = <Date 2013-02-17.16:42:40.512>
    labels = ['build', 'library']
    title = "cross add Python's library directory when building python standard extensions"
    updated_at = <Date 2014-10-02.11:50:54.439>
    user = 'https://bugs.python.org/rpetrov'

    bugs.python.org fields:

    activity = <Date 2014-10-02.11:50:54.439>
    actor = 'doko'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-10-02.11:50:54.442>
    closer = 'doko'
    components = ['Distutils', 'Cross-Build']
    creation = <Date 2013-02-17.16:42:40.512>
    creator = 'rpetrov'
    dependencies = []
    files = ['29104', '32080']
    hgrepos = []
    issue_num = 17219
    keywords = ['patch']
    message_count = 4.0
    messages = ['182278', '227987', '228142', '228222']
    nosy_count = 7.0
    nosy_names = ['doko', 'eric.araujo', 'rpetrov', 'Arfrever', 'BreamoreBoy', 'python-dev', 'dstufft']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue17219'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    Activity

    1. rpetrov commented on Feb 17, 2013

      rpetrovmannequin
      MannequinAuthor

      For native build distutils add current directory to library path. This is not activated in case of cross-build.

      Before , as part of bpo-3871 and bpo-15483, was updated setup.py , but now I would like to propose a simple more general solution with attached patch.

    2. added
      buildThe build process and cross-build
      and removed
      buildThe build process and cross-build
      on Feb 17, 2013
    3. BreamoreBoy commented on Sep 30, 2014

      BreamoreBoymannequin
      Mannequin

      The patch is a one line change to distutils/command/build_ext.py. Can we have the stage set and a patch review done please, distutils is black magic to me.

    4. added
      stdlibStandard Library Python modules in the Lib/ directory
      on Sep 30, 2014
    5. python-dev commented on Oct 2, 2014

      python-devmannequin
      Mannequin

      New changeset 222e0faa5fa9 by doko in branch '2.7':

      New changeset c5f908c56fbd by doko in branch '3.4':

      New changeset 80a515e255aa by doko in branch 'default':

    6. doko42 commented on Oct 2, 2014

      @doko42
      Member

      fixed in 2.7, 3.4 and 3.5

    7. 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

      buildThe build process and cross-buildstdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions