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)
Clone repo
Run python setup.py install
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
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)
python setup.py install
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: