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

setup.py fails if there are no extensions #61071

Closed
bennoleslie mannequin opened this issue Jan 5, 2013 · 2 comments
Closed

setup.py fails if there are no extensions #61071

bennoleslie mannequin opened this issue Jan 5, 2013 · 2 comments
Labels
build The build process and cross-build

Comments

@bennoleslie
Copy link
Mannequin

bennoleslie mannequin commented Jan 5, 2013

BPO 16867
Nosy @ned-deily
Superseder
  • bpo-16537: Python’s setup.py raises a ValueError when self.extensions is empty
  • Files
  • zero_length_extensions.diff
  • 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 2013-01-05.06:05:21.545>
    created_at = <Date 2013-01-05.03:59:55.552>
    labels = ['build']
    title = 'setup.py fails if there are no extensions'
    updated_at = <Date 2013-01-05.06:05:21.536>
    user = 'https://bugs.python.org/bennoleslie'

    bugs.python.org fields:

    activity = <Date 2013-01-05.06:05:21.536>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-01-05.06:05:21.545>
    closer = 'ned.deily'
    components = ['Build']
    creation = <Date 2013-01-05.03:59:55.552>
    creator = 'bennoleslie'
    dependencies = []
    files = ['28570']
    hgrepos = []
    issue_num = 16867
    keywords = ['patch']
    message_count = 2.0
    messages = ['179104', '179112']
    nosy_count = 2.0
    nosy_names = ['ned.deily', 'bennoleslie']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '16537'
    type = None
    url = 'https://bugs.python.org/issue16867'
    versions = ['Python 3.4']

    @bennoleslie
    Copy link
    Mannequin Author

    bennoleslie mannequin commented Jan 5, 2013

    When building if there are zero extensions setup.py fails (max of a zero length list is undefined.)

    Although not a very common case, there are potential speciality cases where there will be zero extensions.

    @bennoleslie bennoleslie mannequin added the build The build process and cross-build label Jan 5, 2013
    @ned-deily
    Copy link
    Member

    This has already been reported in bpo-16537.

    @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
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant