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

@finswimmer finswimmer commented Dec 18, 2019

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 Dec 18, 2019
@sdispater sdispater merged commit 945ca1d into python-poetry:master Dec 20, 2019
16 checks passed
shenek pushed a commit to shenek/poetry that referenced this issue 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 Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants