Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.11 KB

README.md

File metadata and controls

29 lines (24 loc) · 1.11 KB

gitmodules_example_c

This is the third (and the last) example for the gitmodules project. However it is just a part of a complex construction with root at gitmodules_example_a.

Dependencies

This project has no any dependencies and its only submodule is an ordinary submodule. gitmodules_example_c should be imported as a gitmodule like in the gitmodules_example_b project.

Description

gitmodules_example_c can be executed as a main script but if you will try to import it in any other project as a git submodule you will be forced to append its path to the sys.path:

import sys
sys.path.append("gitmodules_example_c")
from gitmodules_example_c import c

Or you can simply use gitmodules instead:

import gitmodules
from gitmodules_example_c import c