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.
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.
To install py36-import_relative, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install py36-import_relative
To see what files were installed by py36-import_relative, run:
port contents py36-import_relative
To later upgrade py36-import_relative, run:
sudo port selfupdate && sudo port upgrade py36-import_relative
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.