Skip to content

Investigate packaging genie_python [timebox: 2.5 days] #8381

@zsoltkebel

Description

@zsoltkebel

This Ticket should instead be a discussion based on points raised in comments

I suggested investigating whether we could turn genie_python helper functions into a pip installable package from vcs for better maintenance and clarity.

I suggest revisiting this ticket in planning and deciding priority etc.

Work done

On branch ticket8381-package in the genie_python repository.

  • ticket branch created and requirements.txt file trimmed to the package that are used by genie_python code. We had a lot of seemingly unused dependencies (pygame?), some of which were severely outdated (e.g. https://pypi.org/project/ipython_genutils/)
    • pygame might be used for collision avoidance on some instruments. not in genie python itself
  • Note that some environment variables have to be set for the CaChannel package to install correctly through pip.

Going further

  • Dependencies seemingly unused here might be necessary on instruments, somehow separate this. Idially we don't want genie_python to list any dependency that it doesn't use directly.
  • Do we need caRepeater.exe in our Python installation directory? One of the install steps is moving this into there. We already have one at EPICS dir. do we need both? Could not find usage of it within genie_python code.
  • Perhaps separate the python install from genie_python helper functions (package)

discussed ~1:21 20/60/24/

planning 00:00 2024/10/31

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions