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

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

Merged

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