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 "<stdin>", line 1, in <module> ImportError: No module named svg
I attached a full log, plus the failing package file. On Sun, Nov 3, 2019 at 7:02 PM Alex Grönholm <alex.gronh...@nextday.fi> wrote: > > 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, 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.path fails. The Python installation can't find > > them. Declaring them as a namespace means you can import them, but the > > imports are empty, there is no attributes to the modules, so you still > > can't use the package. > > > > Is this possible? And if so, how? > > > > Here's a link to the 4.0 release with all the info in the setup.cfg. > > https://github.com/regebro/svg.path/tree/5f941b729f0b7e3991f238776c9391d57917e0a9 > > -- > > Distutils-SIG mailing list -- distutils-sig@python.org > > To unsubscribe send an email to distutils-sig-le...@python.org > > https://mail.python.org/mailman3/lists/distutils-sig.python.org/ > > Message archived at > > https://mail.python.org/archives/list/distutils-sig@python.org/message/XQJAO65QWJOKJDDNTNX3OETCDFIF2G7G/ > -- > Distutils-SIG mailing list -- distutils-sig@python.org > To unsubscribe send an email to distutils-sig-le...@python.org > https://mail.python.org/mailman3/lists/distutils-sig.python.org/ > Message archived at > https://mail.python.org/archives/list/distutils-sig@python.org/message/SMEYWUGUETBJ3TWXZIFVXCYQQVOQI57X/
lregebro:Ometochtli:~/packages/svg.path$ virtualenv /tmp/svgpathtest New python executable in /tmp/svgpathtest/bin/python2.7 Also creating executable in /tmp/svgpathtest/bin/python Installing setuptools, pip, wheel... done. lregebro:Ometochtli:~/packages/svg.path$ /tmp/svgpathtest/bin/python setup.py sdist running sdist running egg_info writing src/svg.path.egg-info/PKG-INFO writing top-level names to src/svg.path.egg-info/top_level.txt writing dependency_links to src/svg.path.egg-info/dependency_links.txt reading manifest file 'src/svg.path.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/svg.path.egg-info/SOURCES.txt' running check creating svg.path-4.0 creating svg.path-4.0/src creating svg.path-4.0/src/svg creating svg.path-4.0/src/svg.path.egg-info creating svg.path-4.0/src/svg/path creating svg.path-4.0/src/svg/path/tests copying files to svg.path-4.0... copying CHANGES.txt -> svg.path-4.0 copying CONTRIBUTORS.txt -> svg.path-4.0 copying LICENSE.txt -> svg.path-4.0 copying MANIFEST.in -> svg.path-4.0 copying README.rst -> svg.path-4.0 copying setup.cfg -> svg.path-4.0 copying setup.py -> svg.path-4.0 copying src/svg/__init__.py -> svg.path-4.0/src/svg copying src/svg.path.egg-info/PKG-INFO -> svg.path-4.0/src/svg.path.egg-info copying src/svg.path.egg-info/SOURCES.txt -> svg.path-4.0/src/svg.path.egg-info copying src/svg.path.egg-info/dependency_links.txt -> svg.path-4.0/src/svg.path.egg-info copying src/svg.path.egg-info/top_level.txt -> svg.path-4.0/src/svg.path.egg-info copying src/svg.path.egg-info/zip-safe -> svg.path-4.0/src/svg.path.egg-info copying src/svg/path/__init__.py -> svg.path-4.0/src/svg/path copying src/svg/path/parser.py -> svg.path-4.0/src/svg/path copying src/svg/path/path.py -> svg.path-4.0/src/svg/path copying src/svg/path/tests/__init__.py -> svg.path-4.0/src/svg/path/tests copying src/svg/path/tests/test_doc.py -> svg.path-4.0/src/svg/path/tests copying src/svg/path/tests/test_generation.py -> svg.path-4.0/src/svg/path/tests copying src/svg/path/tests/test_parsing.py -> svg.path-4.0/src/svg/path/tests copying src/svg/path/tests/test_paths.py -> svg.path-4.0/src/svg/path/tests Writing svg.path-4.0/setup.cfg Creating tar archive removing 'svg.path-4.0' (and everything under it) lregebro:Ometochtli:~/packages/svg.path$ /tmp/svgpathtest/bin/pip install dist/svg.path-4.0.tar.gz DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Processing ./dist/svg.path-4.0.tar.gz Building wheels for collected packages: svg.path Building wheel for svg.path (setup.py) ... done Created wheel for svg.path: filename=svg.path-4.0-py2.py3-none-any.whl size=5613 sha256=c7338781011a48f65156456c45fd1b9f0dfe279980bb5a46785f12d12e1b16aa Stored in directory: /Users/lregebro/Library/Caches/pip/wheels/ec/55/dc/7e0fcbb30c00de3a191d201be6dcee92fe8bf9b9cef99daa71 Successfully built svg.path Installing collected packages: svg.path Successfully installed svg.path-4.0 lregebro:Ometochtli:~/packages/svg.path$ /tmp/svgpathtest/bin/python Python 2.7.15 (default, Feb 12 2019, 12:27:02) [GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.11.45.5)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import svg Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named svg >>>
svg.path-4.0.tar.gz
Description: GNU Zip compressed data
-- Distutils-SIG mailing list -- distutils-sig@python.org To unsubscribe send an email to distutils-sig-le...@python.org https://mail.python.org/mailman3/lists/distutils-sig.python.org/ Message archived at https://mail.python.org/archives/list/distutils-sig@python.org/message/YKTUJZITW3WSM76DL2ODODEGW5UJRAOZ/