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

Review dependencies #209

Closed
danielballan opened this issue May 16, 2018 · 1 comment
Closed

Review dependencies #209

danielballan opened this issue May 16, 2018 · 1 comment

Comments

@danielballan
Copy link
Collaborator

danielballan commented May 16, 2018

I discovered that the servers have a hard ophyd dependency, which I think was not intentional.

Is everyone cool with using pip's optional dependency scheme? Maybe

pip install caproto  # the threading client and the sync client will work, but no servers
pip install caproto[async]  # picks up trio, curio
pip install caproto[all]  # picks up numpy, ophyd, asks and whatever else
@klauer
Copy link
Member

klauer commented May 16, 2018

That's neat about the optional dependency system and a good idea.

Definitely not intentional with ophyd - but I think it's only due to the conversion functions?
Should move that import to a try/except or into the conversion function itself, perhaps.

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

No branches or pull requests

2 participants