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

Conda Package #1152

Open
curtisma opened this issue Sep 9, 2022 · 12 comments
Open

Conda Package #1152

curtisma opened this issue Sep 9, 2022 · 12 comments

Comments

@curtisma
Copy link

curtisma commented Sep 9, 2022

I'd like to create a Conda package for klayout to make it easy to install in a Conda environment. I propose to add klayout as a package on conda-forge. This will allow it to be used in a conda environment as part of viper-forge, our effort to make a very easy to setup open-source IC design environment using Conda.

Conda-forge is an organization that provides build, hosting, and build automation infrastructure for Conda packages. Unless there are objections, I'd like to submit a conda packaging recipe to conda-forge.

@klayoutmatthias, would you like to be added as another maintainer of the conda package when I submit the recipe? I don't think you would need to do anything, but it might be good so you have access to it.

@mithro
Copy link

mithro commented Sep 9, 2022

FYI - @proppy

@curtisma
Copy link
Author

curtisma commented Sep 9, 2022

@proppy: Would you be interested in being added as a maintainer.

@saicharan0112
Copy link

saicharan0112 commented Sep 9, 2022

@curtisma Is there any way I can install this package locally as you upload to the conda-forge in the meanwhile? I just want to try for OpenFASOC
https://github.com/idea-fasoc/OpenFASOC

@curtisma
Copy link
Author

curtisma commented Sep 9, 2022

@curtisma Is there any way I can install this package locally as you upload to the conda-forge in the meanwhile? I just want to try for OpenFASOC

@saicharan0112 Cool, I haven't created the recipe yet, but I will point you to it once it's ready, even before it's merged into a conda-forge feedstock. I'm hoping to have a chance to put it together sometime this weekend.

I might even be able to upload the package file here. Are you looking to run it on Linux or Windows?

@saicharan0112
Copy link

@curtisma Is there any way I can install this package locally as you upload to the conda-forge in the meanwhile? I just want to try for OpenFASOC

@saicharan0112 Cool, I haven't created the recipe yet, but I will point you to it once it's ready, even before it's merged into a conda-forge feedstock. I'm hoping to have a chance to put it together sometime this weekend.

I might even be able to upload the package file here. Are you looking to run it on Linux or Windows?

Linux but I am planning to add this to the jupyter notebook first. This Klayout is the missing piece to visualize the gds file generated from one of the openfasoc generators.

@klayoutmatthias
Copy link
Collaborator

@curtisma sure - you can add me as maintainer of course.

Honestly I have no experience with Conda recipes, but as Conda appears to be a promising deployment path on Windows I'm interesting in learning here.

What exactly is the plan? Just deploying Python packages or the full application?

Thanks and best regards,

Matthias

@curtisma
Copy link
Author

@curtisma sure - you can add me as maintainer of course.

Great, sounds good.

Honestly I have no experience with Conda recipes, but as Conda appears to be a promising deployment path on Windows I'm interesting in learning here.

Yeah, I'll be sure to have a windows package built

What exactly is the plan? Just deploying Python packages or the full application?

Well, I'm thinking we should first package the full application as a package named "klayout" and then we can create a python-only package, "klayout-python".

@curtisma
Copy link
Author

curtisma commented Sep 12, 2022

So I've started the initial recipe at:
https://github.com/cascode-labs/staged-recipes/tree/klayout
Issue

and started the following PR for conda-forge:
conda-forge/staged-recipes#20396

Also see

@proppy
Copy link

proppy commented Sep 12, 2022

@curtisma feel free to also add me as a co-maintainer

@curtisma
Copy link
Author

@curtisma feel free to also add me as a co-maintainer

Yeah, definitely

@lukasc-ubc
Copy link

Thank you folks, this is a great initiative and will help me teach courses where my students use Linux, Mac and Windows. Would be great to have everything easy to install including the ability for KLayout to use a full Python environment.

@mithro
Copy link

mithro commented Oct 31, 2022

@lukasc-ubc - Checkout https://github.com/hdl/conda-eda and the other packaging efforts under https://github.com/hdl

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

6 participants