Closed theodore-ando closed 3 years ago
pip install funcx installs the sdk
pip install funcx
pip install funcx-endpoint installs the endpoint (which depends on the sdk) so you get both
pip install funcx-endpoint
We will try to use PEP420 (Implicit package namespaces) to have both the sdk and all the endpoint code in the same git repo, but separate pip installs.
I believe this would look like:
funcX/ setup.py requirements.txt funcx/ # no __init__.py sdk/ __init__.py client.py endpoint_stuff/ endpoint.py foo.py
But I don't really know how this works, and I think it's not a super commonly used feature, so some experimentation is needed
See this for an example of how this would look: https://github.com/theodore-ando/test-pep420
pip install funcx
installs the sdkpip install funcx-endpoint
installs the endpoint (which depends on the sdk) so you get bothWe will try to use PEP420 (Implicit package namespaces) to have both the sdk and all the endpoint code in the same git repo, but separate pip installs.
I believe this would look like:
But I don't really know how this works, and I think it's not a super commonly used feature, so some experimentation is needed