Skip to content

Conversation

Hamada-Distributed
Copy link
Contributor

This feature will enable us to finally publish python wheels when we tag a version for release. In particular, this will use poetry to build the pythonmonkey.so file and then will place this file into the appropriate python location for packaging by poetry.

Poetry will package it such that the file structure looks like this:
--> pythonmonkey
-----> __init__.py
-----> pythonmonkey.so

Tentatively, I've made __init__.py import all symbols from pythonmonkey.so. This should let one do the typical

import pythonmonkey as pm
pm.eval("()=>{ return 1; }")()

and it should just work.

@Xmader Xmader self-requested a review May 26, 2023 22:18
@Hamada-Distributed Hamada-Distributed removed the request for review from zollqir May 29, 2023 14:06
Co-authored-by: Tom Wenzheng Tang <xmader@distributive.network>
Copy link
Member

@Xmader Xmader left a comment

Choose a reason for hiding this comment

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

LGTM

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.

2 participants