-
Notifications
You must be signed in to change notification settings - Fork 8
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
Q: how to automatically detect platform_tag? #29
Comments
For questions 1 and 2 I managed to partially WA the issue with:
with empty But I still have to hardcode |
Question 1I believe there are three common scenarios here:
I'm open to adding an Question 2Using the Question 3You should be able to simply install them using an install(FILES LICENSE.custom
EXCLUDE_FROM_ALL
COMPONENT python_modules
DESTINATION "${PY_BUILD_CMAKE_PACKAGE_NAME}-${PY_BUILD_CMAKE_PACKAGE_VERSION}.dist-info") |
Hi @tttapa Thank you for prompt response and for the project itself. I really find it very useful!
We, actually, don't differentiate these cases and want users to reproduce exactly the same results as CI service.
I've tried and it works, thank you! Do you know some hints when can users leverage these new features?
and it looks like such syntax is not supported by frontends unfortunately. |
I'll have a more detailed look at this later this week, I'll need to see how other backends such as setuptools handle platform/architecture tags. To answer your second question, I believe that the correct syntax would be: [build-system]
requires = [
"py-build-cmake@git+https://github.com/tttapa/py-build-cmake@sha1-hash",
]
build-backend = "py_build_cmake.build" Since the development branches are by definition unstable, I'd strongly recommend referencing a specific commit rather than a branch name. Case in point, I've created a new |
Hi @tttapa Maybe the better idea is to allow to call |
Question 1:
Currently, when I built wheel on Linux, platform tag is something like
linux_x86_64
How to ensure that it detect current glibc version and set platform tag in
manylinix_x_y_arch
format?I don't want to use
auditwheel
for it, because it's an extra step and not user friendly.Question 2:
how to specify that my project does not contain Python extension and ensure
py3-none
is used instead ofcp310-cp310
Question 3:
How to install several license files / custom license to the folder
dist-info
?The text was updated successfully, but these errors were encountered: