Heya!
I recently moved all the setup.py configuration into setup.cfg for
Pyroma. That worked very nicely. So I started doing it for my other
packages, but with svn.path I failed. Everything *looked* fine, and I
uploaded a 4.0 to PyPI, but if I install that in a virtualenv,
importing svg or svg.pat
I was unable to reproduce the issues you're seeing. Could you give
detailed repro instructions?
Lennart Regebro kirjoitti 3.11.2019 klo 17.46:
Heya!
I recently moved all the setup.py configuration into setup.cfg for
Pyroma. That worked very nicely. So I started doing it for my other
packages,
Sure.
$ virtualenv /tmp/svgpathtest
$ /tmp/svgpathtest/bin/python setup.py sdist
$ /tmp/svgpathtest/bin/pip install dist/svg.path-4.0.tar.gz
$ /tmp/svgpathtest/bin/python
>>> import svg
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named svg
I attached a full lo
Your setup.cfg seems to be missing the [options.packages.find] section,
as documented here:
https://setuptools.readthedocs.io/en/latest/setuptools.html#using-a-src-layout
You need to add this to your setup.cfg:
[options.packages.find]
where = src
After adding this and installing the resulting