Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rpetrov mannequin opened this issue Feb 17, 2013 · 4 comments
Closed

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

rpetrov mannequin opened this issue Feb 17, 2013 · 4 comments
Labels
build The build process and cross-build stdlib Python modules in the Lib dir

Comments

@rpetrov
Copy link
Mannequin

rpetrov mannequin commented Feb 17, 2013

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']

    @rpetrov
    Copy link
    Mannequin Author

    rpetrov mannequin commented Feb 17, 2013

    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.

    @rpetrov rpetrov mannequin added build The build process and cross-build and removed build The build process and cross-build labels Feb 17, 2013
    @BreamoreBoy
    Copy link
    Mannequin

    BreamoreBoy mannequin commented Sep 30, 2014

    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.

    @BreamoreBoy BreamoreBoy mannequin added the stdlib Python modules in the Lib dir label Sep 30, 2014
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Oct 2, 2014

    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':

    @doko42
    Copy link
    Member

    doko42 commented Oct 2, 2014

    fixed in 2.7, 3.4 and 3.5

    @doko42 doko42 closed this as completed Oct 2, 2014
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    build The build process and cross-build stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant