Skip to content

Comments

fix (setup_reader): parse arguments when setuptools.setup() is used (#1761)#1764

Merged
sdispater merged 3 commits intopython-poetry:masterfrom
finswimmer:issue-01761-setuptools-setup
Dec 20, 2019
Merged

fix (setup_reader): parse arguments when setuptools.setup() is used (#1761)#1764
sdispater merged 3 commits intopython-poetry:masterfrom
finswimmer:issue-01761-setuptools-setup

Conversation

@finswimmer
Copy link
Member

At the moment the parser expect that the setup method in setup.py is called with setup() only and will fail if setuptools.setup() is used instead. This PR fixes it.

Fixes: #1761

Pull Request Check List

This is just a reminder about the most common mistakes. Please make sure that you tick all appropriate boxes. But please read our contribution guide at least once, it will save you unnecessary review cycles!

  • Added tests for changed code.

@finswimmer finswimmer requested a review from a team December 18, 2019 13:58
@sdispater sdispater merged commit 945ca1d into python-poetry:master Dec 20, 2019
shenek pushed a commit to shenek/poetry that referenced this pull request Dec 31, 2019
…ython-poetry#1761) (python-poetry#1764)

* fix (setup_reader): in `setup.py` the `setup()` method can also be called by `setuptools.setup()`

* fix (setup_reader): make black happy

* fix (setup_reader): skip test for python <3.4
@finswimmer finswimmer mentioned this pull request Jan 10, 2020
2 tasks
@finswimmer finswimmer deleted the issue-01761-setuptools-setup branch April 4, 2020 19:03
@github-actions
Copy link

github-actions bot commented Mar 1, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Install git: Setup.py Parsing

3 participants