Hello all. I recently went through the packaging exercise that's documented here: https://packaging.python.org/tutorials/packaging-projects/ Everything seemed to work fine until I got to the testing step where I was supposed to do an "import example_pkg". Python said it was unable to find the package. My user name on the test PyPI site is dcoup, so I also tried "import example_pkg_dcoup", but that didn't work either. I was using a virtual environment, as recommended in the tutorial. I also tried the installation and test outside of the virtual environment, but that didn't work either. In my case I'm using my Windows 10 workstation. I'm attaching a file with the output of several commands that might help. Is there something I'm missing? Regards, Douglas Coup -- Objective Systems, Inc. REAL WORLD ASN.1 AND XML SOLUTIONS Tel: +1 (484) 875-9841 Fax: +1 (484) 875-9830 Toll-free: (877) 307-6855 (USA only) http://www.obj-sys.com
Hi Douglas, can you add this as a new issue on https://github.com/pypa/packaging.python.org/issues? On Fri, Oct 11, 2019 at 5:13 PM Douglas Coup <dcoup@obj-sys.com> wrote:
Hello all.
I recently went through the packaging exercise that's documented here: https://packaging.python.org/tutorials/packaging-projects/
Everything seemed to work fine until I got to the testing step where I was supposed to do an "import example_pkg". Python said it was unable to find the package. My user name on the test PyPI site is dcoup, so I also tried "import example_pkg_dcoup", but that didn't work either. I was using a virtual environment, as recommended in the tutorial. I also tried the installation and test outside of the virtual environment, but that didn't work either.
In my case I'm using my Windows 10 workstation. I'm attaching a file with the output of several commands that might help. Is there something I'm missing?
Regards,
Douglas Coup
-- Objective Systems, Inc. REAL WORLD ASN.1 AND XML SOLUTIONS Tel: +1 (484) 875-9841 Fax: +1 (484) 875-9830 Toll-free: (877) 307-6855 (USA only)http://www.obj-sys.com
-- Distutils-SIG mailing list -- distutils-sig@python.org To unsubscribe send an email to distutils-sig-leave@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/Z55LZ...
participants (2)
-
Douglas Coup
-
Dustin Ingram