{"action":"created","issue":{"url":"https://api.github.com/repos/cms-gem-daq-project/gem-plotting-tools/issues/68","repository_url":"https://api.github.com/repos/cms-gem-daq-project/gem-plotting-tools","labels_url":"https://api.github.com/repos/cms-gem-daq-project/gem-plotting-tools/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/cms-gem-daq-project/gem-plotting-tools/issues/68/comments","events_url":"https://api.github.com/repos/cms-gem-daq-project/gem-plotting-tools/issues/68/events","html_url":"https://github.com/cms-gem-daq-project/gem-plotting-tools/issues/68","id":304092766,"number":68,"title":"Structure of RPM package","user":{"login":"jsturdy","id":5197820,"avatar_url":"https://avatars1.githubusercontent.com/u/5197820?v=4","gravatar_id":"","url":"https://api.github.com/users/jsturdy","html_url":"https://github.com/jsturdy","followers_url":"https://api.github.com/users/jsturdy/followers","following_url":"https://api.github.com/users/jsturdy/following{/other_user}","gists_url":"https://api.github.com/users/jsturdy/gists{/gist_id}","starred_url":"https://api.github.com/users/jsturdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsturdy/subscriptions","organizations_url":"https://api.github.com/users/jsturdy/orgs","repos_url":"https://api.github.com/users/jsturdy/repos","events_url":"https://api.github.com/users/jsturdy/events{/privacy}","received_events_url":"https://api.github.com/users/jsturdy/received_events","type":"User","site_admin":false},"labels":[{"id":666068318,"url":"https://api.github.com/repos/cms-gem-daq-project/gem-plotting-tools/labels/Priority:%20High","name":"Priority: High","color":"ff8000","default":false},{"id":666068317,"url":"https://api.github.com/repos/cms-gem-daq-project/gem-plotting-tools/labels/Status:%20In%20Progress","name":"Status: In Progress","color":"8904b1","default":false},{"id":666068327,"url":"https://api.github.com/repos/cms-gem-daq-project/gem-plotting-tools/labels/Type:%20Enhancement","name":"Type: Enhancement","color":"84b6eb","default":false},{"id":666068306,"url":"https://api.github.com/repos/cms-gem-daq-project/gem-plotting-tools/labels/Type:%20New%20Tag","name":"Type: New Tag","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-03-10T18:28:45Z","updated_at":"2018-03-14T18:43:16Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Information\r\n* The packages and modules will be packaged and end up in the system `PYTHONPATH`, e.g., (default `python` on `cc7):  `/usr/lib/python2.7/site-packages/`\r\n  * I've been toying with adding a global namespace `gempython`, under which there would be the `gemplotting`, `vftaqc`, etc., modules, but this is still to be finalized into a proposal, and then discussed\r\n  * This would necessarily involve a small redesign of the `import` statements, but I have for the most part decided on a workable solution for people who are doing private development and **not** using the production software\r\n* Executable scripts, e.g., `amc_info_uhal.py` will **all** go into `/opt/cmsgemos/bin`, to make it simple to add this to the `PATH` variable and have the script ready\r\n\r\n#### Current RPM structure (**UPDATED 12-03-2018**)\r\n```\r\ngempython_gemplotting     /opt/cmsgemos/bin/anaInfo.py\r\ngempython_gemplotting     /opt/cmsgemos/bin/anaUltraLatency.py\r\ngempython_gemplotting     /opt/cmsgemos/bin/anaUltraScurve.py\r\ngempython_gemplotting     /opt/cmsgemos/bin/anaUltraThreshold.py\r\ngempython_gemplotting     /opt/cmsgemos/bin/anaXDAQLatency.py\r\ngempython_gemplotting     /opt/cmsgemos/bin/ana_scans.py\r\ngempython_gemplotting     /opt/cmsgemos/bin/anaoptions.py\r\ngempython_gemplotting     /opt/cmsgemos/bin/anautilities.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/__init__.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/__init__.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/__init__.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/__init__.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/__init__.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/__init__.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/fitting/__init__.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/fitting/__init__.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/fitting/__init__.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/fitting/fitScanData.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/fitting/fitScanData.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/fitting/fitScanData.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/__init__.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/__init__.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/__init__.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/gemPlotter.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/gemPlotter.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/gemPlotter.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/gemSCurveAnaToolkit.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/gemSCurveAnaToolkit.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/gemSCurveAnaToolkit.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/gemTreeDrawWrapper.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/gemTreeDrawWrapper.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/gemTreeDrawWrapper.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/overlay_fit.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/overlay_fit.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/overlay_fit.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plot_eff.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plot_eff.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plot_eff.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plot_noise_vs_trim.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plot_noise_vs_trim.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plot_noise_vs_trim.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plot_scurves_by_thresh.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plot_scurves_by_thresh.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plot_scurves_by_thresh.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plot_vfat_and_channel_Scurve.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plot_vfat_and_channel_Scurve.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plot_vfat_and_channel_Scurve.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plot_vfat_summary.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plot_vfat_summary.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plot_vfat_summary.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plotoptions.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plotoptions.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/plotoptions.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/scurvePlottingUtitilities.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/scurvePlottingUtitilities.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/scurvePlottingUtitilities.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/summary_plots.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/summary_plots.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/macros/summary_plots.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/mapping/PanChannelMaps.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/mapping/PanChannelMaps.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/mapping/PanChannelMaps.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/mapping/__init__.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/mapping/__init__.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/mapping/__init__.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/mapping/buildMapFiles.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/mapping/buildMapFiles.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/mapping/buildMapFiles.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/mapping/chamberInfo.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/mapping/chamberInfo.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/mapping/chamberInfo.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/mapping/channelMaps.py\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/mapping/channelMaps.pyc\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/mapping/channelMaps.pyo\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython/gemplotting/requirements.txt\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython_gemplotting-1.0.1-py2.7.egg-info/PKG-INFO\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython_gemplotting-1.0.1-py2.7.egg-info/SOURCES.txt\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython_gemplotting-1.0.1-py2.7.egg-info/dependency_links.txt\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython_gemplotting-1.0.1-py2.7.egg-info/not-zip-safe\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython_gemplotting-1.0.1-py2.7.egg-info/requires.txt\r\ngempython_gemplotting     /usr/lib/python2.7/site-packages/gempython_gemplotting-1.0.1-py2.7.egg-info/top_level.txt\r\n```\r\n\r\n#### Current tarball structure\r\n```\r\ngempython_gemplotting-1.0.1/\r\ngempython_gemplotting-1.0.1/gempython/\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/bin/\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/bin/anaInfo.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/bin/anaUltraLatency.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/bin/anaUltraScurve.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/bin/anaUltraThreshold.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/bin/anaXDAQLatency.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/bin/ana_scans.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/bin/anaoptions.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/bin/anautilities.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/fitting/\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/fitting/__init__.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/fitting/fitScanData.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/macros/\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/macros/__init__.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/macros/gemPlotter.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/macros/gemSCurveAnaToolkit.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/macros/gemTreeDrawWrapper.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/macros/overlay_fit.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/macros/plot_eff.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/macros/plot_noise_vs_trim.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/macros/plot_scurves_by_thresh.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/macros/plot_vfat_and_channel_Scurve.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/macros/plot_vfat_summary.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/macros/plotoptions.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/macros/scurvePlottingUtitilities.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/macros/summary_plots.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/mapping/\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/mapping/PanChannelMaps.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/mapping/__init__.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/mapping/buildMapFiles.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/mapping/chamberInfo.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/mapping/channelMaps.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/__init__.py\r\ngempython_gemplotting-1.0.1/gempython/gemplotting/requirements.txt\r\ngempython_gemplotting-1.0.1/gempython/__init__.py\r\ngempython_gemplotting-1.0.1/gempython_gemplotting.egg-info/\r\ngempython_gemplotting-1.0.1/gempython_gemplotting.egg-info/PKG-INFO\r\ngempython_gemplotting-1.0.1/gempython_gemplotting.egg-info/SOURCES.txt\r\ngempython_gemplotting-1.0.1/gempython_gemplotting.egg-info/dependency_links.txt\r\ngempython_gemplotting-1.0.1/gempython_gemplotting.egg-info/not-zip-safe\r\ngempython_gemplotting-1.0.1/gempython_gemplotting.egg-info/requires.txt\r\ngempython_gemplotting-1.0.1/gempython_gemplotting.egg-info/top_level.txt\r\ngempython_gemplotting-1.0.1/README.md\r\ngempython_gemplotting-1.0.1/setup.cfg\r\ngempython_gemplotting-1.0.1/setup.py\r\ngempython_gemplotting-1.0.1/PKG-INFO\r\n```"},"comment":{"url":"https://api.github.com/repos/cms-gem-daq-project/gem-plotting-tools/issues/comments/373132733","html_url":"https://github.com/cms-gem-daq-project/gem-plotting-tools/issues/68#issuecomment-373132733","issue_url":"https://api.github.com/repos/cms-gem-daq-project/gem-plotting-tools/issues/68","id":373132733,"user":{"login":"jsturdy","id":5197820,"avatar_url":"https://avatars1.githubusercontent.com/u/5197820?v=4","gravatar_id":"","url":"https://api.github.com/users/jsturdy","html_url":"https://github.com/jsturdy","followers_url":"https://api.github.com/users/jsturdy/followers","following_url":"https://api.github.com/users/jsturdy/following{/other_user}","gists_url":"https://api.github.com/users/jsturdy/gists{/gist_id}","starred_url":"https://api.github.com/users/jsturdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsturdy/subscriptions","organizations_url":"https://api.github.com/users/jsturdy/orgs","repos_url":"https://api.github.com/users/jsturdy/repos","events_url":"https://api.github.com/users/jsturdy/events{/privacy}","received_events_url":"https://api.github.com/users/jsturdy/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T18:43:16Z","updated_at":"2018-03-14T18:43:16Z","author_association":"CONTRIBUTOR","body":"> e.g. the other scripts like anaUltra*.py should also be placed in macros.\r\n\r\nHmm, I guess in this case the distinction I'm trying to raise is quite muddled...\r\nHow I initially imagined it, the \"tools\" themselves will go in `/opt/cmsgemos/bin` (here I view `ana<blah>.py` as the tools).\r\nThe `gemplotting` \"scripts\" (current random assortment of drawing/display scripts) will live in `/usr/lib/python<version>/site-packages/gempython/gemplotting/{macros or bin}` which would then be probably added to the `PATH`\r\n\r\nEffectively what I want is to separate the \"library\" from the \"things that use the library\"\r\n\r\nSo probably in the short term, I'll put a select set of tools in `/opt/cmsgemos/bin` and leave the rest inside the package itself"}}
{"actor":{"display_login":"jsturdy"}}