Skip to content
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

Name of utilities #1133

Open
mglisse opened this issue Sep 21, 2024 · 0 comments
Open

Name of utilities #1133

mglisse opened this issue Sep 21, 2024 · 0 comments
Labels
build The build system (CMake, etc)

Comments

@mglisse
Copy link
Member

mglisse commented Sep 21, 2024

The utilities in gudhi were given names that are fine as long as they stay somewhere isolated, but they are not so nice if you intend to install them in a standard location (say /usr/local/bin) on your system. Debian ends up manually renaming each of them:
Nerve -> gudhi-nerve
VoronoiGIC -> gudhi-voronoi-gic
alpha_complex_persistence -> gudhi-alpha-complex-persistence
GudhUI -> gudhui

While capitalization and - vs _ may be a matter of taste, being able to add a prefix gudhi- for all utilities (except maybe gudhui which is already close enough?) looks useful, both to help discover all the other utilities, and to avoid conflicts. #920 adds a utility ripser, which is likely to conflict with other packages in conda/pip/debian/etc.
CMake does not seem to have the equivalent of autoconf's --program-prefix=PREFIX or --program-transform-name=PROGRAM, but something along these lines would make sense to me.

@mglisse mglisse added the build The build system (CMake, etc) label Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build system (CMake, etc)
Projects
None yet
Development

No branches or pull requests

1 participant