Skip to content

Commit

Permalink
Creating submodules/ and lib/ to manage dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
BjarniRunar committed Jun 28, 2018
1 parent acb9905 commit aabae7c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@
[submodule "shared-data/contrib/print"]
path = shared-data/contrib/print
url = https://github.com/mailpile/Mailpile-print.git
[submodule "submodules/gui-o-matic"]
path = submodules/gui-o-matic
url = https://github.com/mailpile/gui-o-matic
[submodule "submodules/gui-o-mac-tic"]
path = submodules/gui-o-mac-tic
url = https://github.com/mailpile/gui-o-mac-tic
1 change: 1 addition & 0 deletions lib/gui_o_matic
5 changes: 2 additions & 3 deletions scripts/mailpile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ import sys, os
# Make imports work without PYTHONPATH
mailpile_root = os.path.dirname( # Mailpile root
os.path.dirname( # scripts/
os.path.realpath(__file__) # this script
)
)
os.path.realpath(__file__))) # this script

sys.path.append(mailpile_root)
sys.path.append(os.path.join(mailpile_root, 'lib'))

from mailpile.app import Main
Main(sys.argv[1:])
1 change: 1 addition & 0 deletions submodules/gui-o-mac-tic
Submodule gui-o-mac-tic added at c3ab17
1 change: 1 addition & 0 deletions submodules/gui-o-matic
Submodule gui-o-matic added at 3d3362

0 comments on commit aabae7c

Please sign in to comment.