Package mcrfpy without embedded interpreter #70

Open
opened 2024-04-11 03:29:27 +00:00 by john · 1 comment
Owner

It should be possible to separate the built-in interpreter from the API definitions, build against multiple versions of Python, and distribute wheels.

This isn't how I would deploy McRogueFace for a game, but it would make it a lot more accessible for experimentation.

It would also somewhat betray the "C++ first" philosophy of the engine, but shipping SFML and TCOD would probably keep it pretty snappy.

https://packaging.python.org/en/latest/tutorials/packaging-projects/#choosing-build-backend

It should be possible to separate the built-in interpreter from the API definitions, build against multiple versions of Python, and distribute wheels. This isn't how I would deploy McRogueFace for a game, but it would make it a lot more accessible for experimentation. It would also somewhat betray the "C++ first" philosophy of the engine, but shipping SFML and TCOD would probably keep it pretty snappy. https://packaging.python.org/en/latest/tutorials/packaging-projects/#choosing-build-backend
john added the
Major Feature
Demo Target
labels 2024-04-11 03:29:27 +00:00
Author
Owner

See #54 / #55 for related ideas - in one sense, those two could depend on this. In the other sense, this issue is for the "inside-out" deployment of McRogueFace.

  • "normal" - McRogueFace executable is the Python interpreter, C++ main loop
  • "inside-out" - McRogueFace distributed as a package, Python environment has to call some main loop function

That main loop function should have a "short circuit" method in the normal distribution so Python code can freely move between the two kinds of deployment

See #54 / #55 for related ideas - in one sense, those two could depend on this. In the other sense, this issue is for the "inside-out" deployment of McRogueFace. * "normal" - McRogueFace executable is the Python interpreter, C++ main loop * "inside-out" - McRogueFace distributed as a package, Python environment has to call some main loop function That main loop function should have a "short circuit" method in the normal distribution so Python code can freely move between the two kinds of deployment
john added the
priority:tier3-future
label 2025-10-26 00:50:37 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: john/McRogueFace#70
No description provided.