-
Notifications
You must be signed in to change notification settings - Fork 29
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
GUI / BLD: Make separate happi-qt sub-package? #340
Comments
You might already be doing this, but please consider using qtpy abstraction layer. As a pyside2 user I often get bitten by people expecting pyqt to be installed. Whatever works best for you! |
Line 5 in 63051ea
|
Dumping some notes so I can find them whenever we decide to do this. Adding sub-packages would be simple if we only used PIP, but conda feedstocks get a bit more confusing. PipFor pip, we can simply define the extra dependencies in CondaConda does not have an analogous mechanism. Instead a recipe can specify additional "outputs", which lead to the creation of "metapackages". This is what package:
name: my_package
requirements:
host:
- python
run:
- my_package-the_subpackage1
- my_package-the_subpackage2
outputs:
- name: my_package.the_subpackage1
requirements:
- some-dep
script: some_build_script.sh
- name: my_package.the_subpackage2
requirements:
- some-other-dep
script: some_other_build_script.sh This seems to create multiple It'd be great to have the same package names, but I think conda disallows brackets in package names. So we'd have to do something like |
I think |
I should revisit this, now that we have a working example of this in lightpath https://github.com/conda-forge/lightpath-feedstock/blob/main/recipe/meta.yaml |
Expected Behavior
We might want to consider having a
happi[core]
andhappi[qt]
, once we start to accrue significant qt elements.Current Behavior
Qt widgets and their dependencies are grouped with the core code.
Possible Solution
optional dependencies install instructions
Context
#246
Your Environment
pcds-5.8.0
The text was updated successfully, but these errors were encountered: