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

Consider dropping setuptools #497

Open
ronaldoussoren opened this issue Oct 4, 2022 · 1 comment
Open

Consider dropping setuptools #497

ronaldoussoren opened this issue Oct 4, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@ronaldoussoren
Copy link
Owner

It might be worthwhile to look into a smallish helper project for generating wheels/sdists instead of the current mix of setuptools and pyobjc_setup.py.

@ronaldoussoren ronaldoussoren added the enhancement New feature or request label Oct 4, 2022
@jaraco
Copy link
Contributor

jaraco commented Dec 16, 2022

I'm not aware of any projects that support building extension modules.

ronaldoussoren added a commit that referenced this issue Apr 28, 2023
Turns out setuptools's pep517 builder first runs setup.py
in a way that the directory containing setup.py is not on sys.path.

That's a problem for the frameowrk bindings that have a
"pyobjc_setup.py" next to "setup.py" that's imported by the
setup itself.

Fix this by explicitly adding the directory containing setup.py
to sys.path before importing pyobjc_setup.

See also #497
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants