forked from regro/regolith
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* merging upstream * bringing version to cookiecutter standards and changing how xonsh is initialized in init
- Loading branch information
Showing
2 changed files
with
24 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
# stup import hooks | ||
import xonsh.imphooks | ||
from xonsh.built_ins import XSH | ||
from xonsh.execer import Execer | ||
# import xonsh.imphooks | ||
# from xonsh.built_ins import XSH | ||
# from xonsh.execer import Execer | ||
|
||
XSH.load(execer=Execer()) | ||
execer = XSH.execer | ||
xonsh.imphooks.install_import_hooks(execer=execer) | ||
from xonsh.main import setup | ||
|
||
__version__ = "0.8.2" | ||
from regolith.version import __version__ | ||
|
||
del xonsh | ||
"""A Research group database management system""" | ||
|
||
# Silence the pyflakes syntax checker | ||
assert __version__ or True | ||
|
||
setup() | ||
del setup | ||
|
||
# Initialize the Xonsh environment | ||
# # execer = Execer(config=None) | ||
# # XSH.load(execer=execer) | ||
# # xonsh.imphooks.install_import_hooks(execer=execer) | ||
# | ||
# del xonsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters