Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python API #64

Open
TheJJ opened this issue Sep 8, 2019 · 2 comments
Open

Python API #64

TheJJ opened this issue Sep 8, 2019 · 2 comments
Labels
c++ involves C++ code nice new thing ☺ adds new functionality

Comments

@TheJJ
Copy link
Member

TheJJ commented Sep 8, 2019

nyan needs a Python API in order to be used from Python code, like the openage-converter.
Best to use Cython. It can be done with the traditional Cython approach by just wrapping the C++-code with pyx and pxd files.

Using openage's Python interface is probably overkill (no need to call back and forth easily, translate exceptions from Py to C++, ...).

@coco875

This comment was marked as off-topic.

@TheJJ

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ involves C++ code nice new thing ☺ adds new functionality
Projects
None yet
Development

No branches or pull requests

2 participants