Skip to content

Make pythonIoc pip installable#5

Merged
thomascobb merged 19 commits intomasterfrom
on-its-head
Jun 23, 2021
Merged

Make pythonIoc pip installable#5
thomascobb merged 19 commits intomasterfrom
on-its-head

Conversation

@thomascobb
Copy link
Contributor

At the moment it is an EPICS module that embeds Python. This PR will make it a Python module that embeds an EPICS IOC.

@thomascobb
Copy link
Contributor Author

@Araneidae this is working apart from a couple of things with devIocStats

  1. We don't use the epics build system to make ioc.db, and dbLoadDatabase doesn't like ioc.template because it contains the msi "substitute" command. I can get round this in Python
  2. Loading devIocStats gives: Error (511,35) PV: TS-DI-TEST-01:SYSRESET Proc subroutine (SNAM). This is a mystery to me as the relevant routine appears when you do strings on the extension that I built. Any ideas?

@thomascobb
Copy link
Contributor Author

I'll add the CI and more tests when these things are working...

@thomascobb
Copy link
Contributor Author

@mdavidsaver notes that 2. is because registerAllRecordDeviceDrivers() isn't handling function(). He'll look at modifying this in EPICS base...

@thomascobb thomascobb force-pushed the on-its-head branch 9 times, most recently from 536f51e to ae8178f Compare May 6, 2021 13:08
@thomascobb
Copy link
Contributor Author

Yes, hundreds of modifications to the build step, but each needs to be pushed to trigger CI. I'm getting there though, just the windows build left to do...

@thomascobb thomascobb force-pushed the on-its-head branch 3 times, most recently from 581e225 to e033892 Compare May 11, 2021 14:47
@Araneidae
Copy link
Collaborator

I've unsubscribed for now; give me a shout when you're all done!

@thomascobb thomascobb force-pushed the on-its-head branch 7 times, most recently from e13797d to bba37a0 Compare May 14, 2021 14:06
@thomascobb
Copy link
Contributor Author

Ok, this should be ready to review again, just docs left to do

@thomascobb
Copy link
Contributor Author

Once we have a 1.4.1 release of epicsdbbuilder, then I can regenerate Pipfile.lock with DLS deps, then I think I'm done here

Copy link
Collaborator

@Araneidae Araneidae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignore!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants