-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Use package_data instead of data_files in setup.py #20108
Comments
comment:1
Indeed, looking at the setup.py, the only files that are installed using the This being the case it should be using |
comment:2
Mostly tangential, but I noticed that one of the files that is installed is |
comment:3
Replying to @embray:
It's a file used by some Cython Of course, ideally this file shouldn't even exist in the first place: it mostly contains stuff to work around Cython limitations which are no longer relevant. Me and Jean-Pierre Flori already did some work to reduce the usage of |
comment:4
I seem to remember a problem with I believe that you cannot use |
comment:5
I've had that problem before--it can be worked around. |
comment:6
I guess what confuses me about |
Changed author from Jeroen Demeyer to none |
comment:8
Replying to @embray:
Don't try to understand it. Everything about |
comment:9
Replying to @embray:
For me, the question remains: is it worth it? If we can use |
comment:10
I'm trying to bring |
comment:11
Just recording (without comment for now) that the only header files installed from
|
comment:12
Replying to @embray:
I guess you can deduce from my comments that I don't always agree with those "current practices". It seems that, in many cases, they introduce more problems than they solve. And I really don't like arguments of the form "you should do X because everybody does X". |
comment:13
That attitude is why nobody wants to package Sage :) Sometimes you have to go along to get along. Plus, when it comes to the Python-specific stuff actually the "current practices" are actually much improved over where things were and are moving in the right direction. The biggest problem is just the historical baggage and the poor understanding that engenders (such as the relationships between various projects). |
comment:14
I think a problem is also that there is no clear direction from Python upstream: you have |
comment:15
When you install with There's been some discussion lately about how to change that. So that it just does what pip does. I actually need to pick that up again because my idea had decent support but I never made a pull request (though I do have a patch). |
comment:17
Any further suggestions? I am inclined to close this as "wontfix". |
comment:18
I obviously just haven't looked at this in a while. I would still like to though. |
comment:20
Do you think the approach of #21600 (using neither |
comment:21
Replying to @jdemeyer:
I'm not strictly against it. I think the implementation details still need some work but I'm open to the idea. I'd still rather get |
Reviewer: Jeroen Demeyer |
Depends on #21604
CC: @embray @kiwifb @mkoeppe
Component: build
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/20108
The text was updated successfully, but these errors were encountered: