-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
support /usr/local/share/* installation #807
Comments
This issue shares concerns with #130 and may be a duplicate. Can you read up on that issue and see if it applies here and if the solution would work for your use case? One concern about the addition of |
I believe that these issues are closely related but not duplicates. It may be easiest to consider #130 a superset of this issue; whereas the solution there would support my usecase, I am suggesting a more contained alternative. Please correct me if I have misunderstood the discussion there. #130 makes the argument that Here I am proposing a more controlled alternative, borrowing from the long-standing egg exception for Concerning Windows systems I lack the experience to suggest an equivalent. Perhaps |
I'd like to echo support for the notion of an |
Currently,
setuptools
supports package installation to/usr/local/bin
viaentry_points
insetup()
. For all other files it appears thatMANIFEST
is recommended, which bundles non-code files into the package distribution directly. This is not useful for resources whose destination pathing is expected by system utilties - such as manual pages under/usr/local/share
. This presents a large painpoint. Example: beetbox/beets#1501 (comment)I see value in keeping package files as as discreet as possible, however the current API of
entry_points
leads to incomplete command line interfaces.I think it would make sense to introduce support at least two additional parameters:
These resources would still be distributed via
MANIFEST
orpackage_data
, but would now be accompanied by symlinks to the appropriate directories. This is similar to how Homebrew distributes resources out of the Cellar.The text was updated successfully, but these errors were encountered: