Importing module from another subdirectory

Rich Shepard rshepard at appl-ecosys.com
Tue Apr 23 08:48:35 EDT 2019


On Tue, 23 Apr 2019, dieter wrote:

> I use "virtualenv" (for "VIRTUAL ENVironmet") to separate
> projects.

Dieter,

I know about virtualenv and tried using them. Found conflicting information
and didn't know if I really needed them. I'll re-learn how to activate and
use them.

One project is for my own use and I understand now that a virtualenv with
its own sys.path appendices would work. The other project is intended to be
available for installation and use by clients (most of whom work in a
Windows environment) so I need to learn how development in a virtual
environment affects ultimate distribution via github.

> If you are ready to use "virtual environment"s and ready to learn about
> advanved Python packaging facilities, then read the setuptools
> documentation (--> "https://setuptools.readthedocs.io/en/latest/").

This URL will likely teach me what I need to learn for both projects. Thanks
very much.

Best regards,

Rich


More information about the Python-list mailing list