[INSTRM-2044] Base ics_cobraCharmer installation on sconsUtils Created: 26/Jul/23 Updated: 27/Sep/23 Resolved: 27/Sep/23 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | ics_cobraCharmer |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | cloomis | Assignee: | chyan |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The ics_cobraCharmer installation is a bit peculiar. The two main quirks are that MP expects it to be installed as a simple standalone python product (I think that is a reasonable request), and that much of the new python code is in a `procedures` directory which is not located in the way most python modules are. One way to address both is to switch to an sconsUtils-style build (as many other ICS products already have). That will be invisible to the vanilla python installed, so we will not break that. Yes, we need to place `procedures` better, but I think we should put that off for now. |
| Comments |
| Comment by chyan [ 25/Aug/23 ] |
|
Actually, most of the code in "procedures" are used in unit test in ASRD. I would like to rearrange them into a better location. |
| Comment by chyan [ 27/Sep/23 ] |
|
I am closing this ticket since I have already rearranged the ics_cobraCharmer. I put necessary code to a directory "cobraCoach" to follow original design. I will create another ticket to remove 'procedures.bk' for good |