cms-gem-daq-project / gem-plotting-tools

Repository for GEM commissioning plotting tools
GNU General Public License v3.0
1 stars 26 forks source link

Add a post_install directive for the RPM #100

Closed jsturdy closed 6 years ago

jsturdy commented 6 years ago

RPM installation will now generate the mapping files for V2 chambers

Types of changes

Motivation and Context

Fixes #97

How Has This Been Tested?

Installed on gem904qc8daq and files were generated

jsturdy commented 6 years ago

@bdorney, cf. last comment in #97

bdorney commented 6 years ago

@bdorney, cf. last comment in #97

Okay based here we had:

Hotfix linked will generate the current long/short map files on an RPM install. Doing a pip install, the files will still need to be generated, and this can be kept open if there is a nice mechanism inside setuptools to achieve the same thing as a %post RPM directive. This should be revisited in the future as having "databases" of text files is not ideal long-term

So the README.md may still want to recommend a call of source setup/paths.sh when performing a pip install.