question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`gf tool install` does not create "gdsfactory tab" on KLayout menu bar

See original GitHub issue

Describe the bug According to the docs, running gf tool install should install the KLayout salt package, and must be similar to installing it straight from KLayout. This should create a tab on the menu bar to import PCells.

To Reproduce Run gf tool install in terminal. image

Suggested fix Have gf tool install install the .lym files under macros/gdsfactory rather than salt/gdsfactory. Doing so produces this: image

I will open a PR soon with this fix.

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
thomasdorchcommented, Nov 16, 2022

Okay it looks like it’s because the rest of the macros aren’t included in the MANIFEST.in. So if we replace

include gdsfactory/klayout/pymacros/klive.lym

with

include gdsfactory/klayout/pymacros/*

I think it should fix this.

1reaction
SkandanCcommented, Nov 16, 2022

What command are you running to pip install gdsfactory?

Just pip install gdsfactory. I’ve tried this in multiple conda envs with different python versions, and on both Windows and WSL - same issue in all.

Also, I think we should keep the gdsfactory files all in the same place (salt) if possible, rather than splitting them up between the different folders.

Yep, I don’t think there is a need to move them to another place now, if we can fix the above issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

KLayout integration — gdsfactory 6.14.2 documentation
You have 2 ways to install the KLayout gdsfactory plugin to be able to see live updates on your GDS files: from the...
Read more >
How to make pip install klayout in macOs faster? #1069 - GitHub
I have this in my backlog. We need to create a wheel for the newer macOS versions and upload to pypi. Right now...
Read more >
No shape button on the menu bar - KLayout
Hello, I changed my pc to macOS, and I am adjusting Klayout in macOS. However, when I used Windows, I got shape buttons...
Read more >
conda-forge feedstocks | community driven packaging for conda
... python-ldas-tools-diskcacheapi: ldas-tools-diskcacheapi-swig-feedstock ... jupyterlab-language-pack-no-no: jupyterlab-language-packs-feedstock ...
Read more >
conda-forge - :: Anaconda.org
aiida-tools, 0.4.1, Apache-2.0, X, Helper tools for developing AiiDA plugins. ... CIF2Cell is a tool to generate the geometrical setup for various.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found