py36-import_relative

v 0.2.3

A different kind of relative import

When you have a large package that contains nested submodules this allows the nested submodules to refer to one another without having to pull in or know much about or explicitly import the entire top-level tree. In contrast to Python's relative imports, we don't care if a file is invoked as a main program or as part of a module in the collection.

https://github.com/rocky/pyimport-relative

To install py36-import_relative, paste this in macOS terminal after installing MacPorts

sudo port install py36-import_relative

Add to my watchlist

Installations 0
Requested Installations 0