-
Notifications
You must be signed in to change notification settings - Fork 117
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
Avoid setup.py
?
#956
Comments
Sure, if you use |
Both https://github.com/pybind/scikit_build_example and https://github.com/scikit-hep/cookie when using skbuild as the backend are setup.py free. :) Awkward-core has been shipping without a setup.py for a few months now. |
Thanks! So simply put if I require scikit-build-options I have to use a |
That's a bit too simple, IMO :). Though, to be fair, two more things that are still missing are selecting a different target (vs. install) and selecting the CMakeLists.txt location, which are both scikit-build options. |
Excuse me,I don't get the point. How can install the package if there isn't a setup.py. |
You should never be invoking setup.py directly, that's been deprecated for years (See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for example). Many projects no longer have one. You should be using tools that use PEP 517 interface to build the package, like |
Hello, @henryiii , |
“third-party keyword arguments” means you can’t set things like |
Is there a way to avoid having a
setup.py
and to have everything in apyproject.toml
?The text was updated successfully, but these errors were encountered: