-
Notifications
You must be signed in to change notification settings - Fork 121
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
Add option to specify where the sdist tarfile should be expanded #614
Comments
I assume the goal here is to build multiple wheels from the same sdist - what's the user flow gonna end up looking like with the proposed option? Will you |
The use case if for developers which make frequent changes to the C/C++ code. Our code base can take a significant time to compile. The idea is that |
Ah right, that makes more sense - you don't actually want to keep |
Yes, the point is having the path to be deterministic. I actually find the default of using The thing is that for certain cases like ours, in which the developers know what they are doing, it would be useful to have some control of the working directory. |
Currently, if no -s or -w option is given, a sdist is created which is then extracted in a /tmp/build-sdist-xxx directory. It would be useful to have an option to specify this directory. That's important when compiling large C extensions which can benefit from using ccache. When a random temporary directory is created then ccache is of not use.
In other words, my request is to have an option to specify the directory sdist_out in this line:
build/src/build/__main__.py
Line 238 in f5d5f15
I know that the current -w option helps in that sense, but it is desirable to have off-source builds since the extension compilation can potentially create many files and mess around with the sources.
The text was updated successfully, but these errors were encountered: