Skip to content

SVG module dependency is broken #24

@zirafa

Description

@zirafa

The PR #18, Make svg2mod installable via pip has broken manual installation of svg2mod. Although package managers are convenient, it should still be possible to install and run this script without one.

Steps to reproduce (Python 2.7 environment)

  1. Clone repo
  2. Run python setup.py install
  3. In the svg2mod subdir run python svg2mod.py -i ../examples/dt-logo.svg

I expected the script to work and output a kicad_mod file but instead saw this error:

$ python svg2mod.py -i ../examples/dt-logo.svg
Traceback (most recent call last):
  File "svg2mod.py", line 10, in <module>
    import svg2mod.svg as svg
  File "svg2mod/svg2mod/svg2mod.py", line 10, in <module>
    import svg2mod.svg as svg
ImportError: No module named svg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions