Skip to content

bdist_wininst does not run install script #66301

Closed

Description

@mbuesch
mannequin
BPO 22103
Nosy @tjguk, @zware, @zooba, @mbuesch
Superseder
  • bpo-21354: PyCFunction_New no longer exposed by python DLL breaking bdist_wininst installers
  • Files
  • foo.zip
  • 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.05:58:20.772>
    created_at = <Date 2014-07-29.21:44:12.250>
    labels = ['type-bug', 'expert-installation']
    title = 'bdist_wininst does not run install script'
    updated_at = <Date 2014-10-02.05:58:20.771>
    user = 'https://github.com/mbuesch'

    bugs.python.org fields:

    activity = <Date 2014-10-02.05:58:20.771>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-10-02.05:58:20.772>
    closer = 'ned.deily'
    components = ['Installation']
    creation = <Date 2014-07-29.21:44:12.250>
    creator = 'mb_'
    dependencies = []
    files = ['36154']
    hgrepos = []
    issue_num = 22103
    keywords = []
    message_count = 4.0
    messages = ['224258', '227722', '228109', '228133']
    nosy_count = 5.0
    nosy_names = ['tim.golden', 'zach.ware', 'steve.dower', 'Cybjit', 'mb_']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '21354'
    type = 'behavior'
    url = 'https://bugs.python.org/issue22103'
    versions = ['Python 3.4']

    Activity

    1. mbuesch commented on Jul 29, 2014

      mbueschmannequin
      MannequinAuthor

      The bdist_wininst installer does not run the specified --install-script.

      Attached is an example project foo.zip.
      setup.py is invoked as follows:
      py setup.py bdist_wininst --install-script foo_postinstall.py

      The installer shows that it successfully ran the install script, but it did not do this. The file C:\foo.txt is not created. If I add print()s to the install script, these messages are not shown either.

      I tested this on Python 3.4, 64-bit (Win7) and 32-bit (XP)

    2. Cybjit commented on Sep 27, 2014

      Cybjitmannequin
      Mannequin

      Probably caused by issue bpo-21354

    3. Cybjit commented on Oct 1, 2014

      Cybjitmannequin
      Mannequin

      3f7d5c235d82 runs script, 70ea05f762a1 does not.

      0c8f41ca9c94 + t.patch from bpo-21354 does not run script.

    4. Cybjit commented on Oct 1, 2014

      Cybjitmannequin
      Mannequin

      Turns out I had a build problem (bpo-11598).
      0c8f41ca9c94 + t.patch does actually solve the problem.

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

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions