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

Inject '' into sys.path in PEP 517 implementation #1643

Closed
wants to merge 1 commit into from

Conversation

uranusjr
Copy link
Member

@uranusjr uranusjr commented Jan 25, 2019

Summary of changes

Injects '' (current working directory) into sys.path if needed when running setup.py in the PEP 517 backend.

Closes #1642.

Pull Request Checklist

  • Changes have tests
  • News fragment added in changelog.d. See documentation for details

This maintains backward compatibility to non-isolated build semantics,
where it is common to import the module in setup.py.
@uranusjr
Copy link
Member Author

I don’t understand what’s wrong here, is pip failing to install setuptools in Python 2?

@jaraco
Copy link
Member

jaraco commented Jan 26, 2019

I don’t understand what’s wrong here

I don't either, but I'm tracking it in #1644.

@jaraco jaraco closed this Jan 27, 2019
@jaraco jaraco reopened this Jan 27, 2019
pganssle added a commit to pganssle/setuptools that referenced this pull request Jan 27, 2019
Failing test adapted from PR pypa#1643

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
@pganssle pganssle mentioned this pull request Jan 27, 2019
2 tasks
pganssle added a commit to pganssle/setuptools that referenced this pull request Jan 27, 2019
Failing test adapted from PR pypa#1643

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
@uranusjr
Copy link
Member Author

Closing in favour of #1652.

@uranusjr uranusjr closed this Jan 28, 2019
pganssle added a commit to pganssle/setuptools that referenced this pull request Jan 31, 2019
Failing test adapted from PR pypa#1643

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
pganssle added a commit to pganssle/setuptools that referenced this pull request Feb 3, 2019
Failing test adapted from PR pypa#1643

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
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.

2 participants