-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat: setup.py redesign and helpers #2433
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
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
e551c52
feat: setup.py redesign and helpers
henryiii 1b880db
refactor: simpler design with two outputs
henryiii 962f94d
refactor: helper file update and Windows support
henryiii 05eea6a
fix: review points from @YannickJadoul
henryiii 86d8507
refactor: fixes to naming and more docs
henryiii 83dc387
feat: more customization points
henryiii 7b4a666
feat: add entry point pybind11-config
henryiii d02875a
refactor: Try Extension-focused method
henryiii 40b61f1
refactor: rename alt/inplace to global
henryiii ea71cba
fix: allow usage with git modules, better docs
henryiii c6bf4e1
feat: global as an extra (@YannickJadoul's suggestion)
henryiii 9a848fe
feat: single version location
henryiii d819111
fix: remove the requirement that setuptools must be imported first
henryiii 547f152
fix: some review points from @wjacob
henryiii 43ad954
fix: use .in, add procedure to docs
henryiii ad97858
refactor: avoid monkeypatch copy
henryiii e907075
docs: minor typos corrected
henryiii 6a0cd0f
fix: minor points from @YannickJadoul
henryiii 1768de5
fix: typo on Windows C++ mode
henryiii f582e0e
fix: MSVC 15 update 3+ have c++14 flag
henryiii 111ab6f
docs: discuss making SDists by hand
henryiii 6eeda00
ci: use pep517.build instead of manual setup.py
henryiii ce8dc87
refactor: more comments from @YannickJadoul
henryiii 3b9d2f4
docs: updates from @ktbarrett
henryiii e541907
fix: change to newly recommended tool instead of pep517.build
henryiii a63e6fc
docs: updates from @wjakob
henryiii 71e6420
refactor: dual version locations
henryiii 6cdbd4b
docs: typo spotted by @wjakob
henryiii File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this intro paragraph is so much better now, thanks for that!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more stupid question: what does
pip install pybind11[global]
do ifpybind11
is already installed?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It just installs
pybind11-global
. Just as if you wrotepip install pybind11 pybind11-global
and already have pybind11 installed. The only special feature is that they are version-locked (with the bracket syntax) and you get both of them.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thank you for the clarification.