forked from fabric/fabric
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rejiggered convenience import so setup.py works without Paramiko inst…
…alled.
- Loading branch information
1 parent
f964c47
commit 00f3ad5
Showing
3 changed files
with
20 additions
and
9 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
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,6 +1,4 @@ | ||
from context_managers import warnings_only | ||
from decorators import hosts, roles, runs_once | ||
from operations import require, prompt, put, get, run, sudo, local | ||
from state import env | ||
from utils import abort, warn | ||
""" | ||
See `fabric.api` for the publically importable API. | ||
""" | ||
from version import get_version |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
""" | ||
Non-init module for doing convenient * imports from. | ||
Necessary because if we did this in __init__, one would be unable to import | ||
anything else inside the package -- like, say, the version number used in | ||
setup.py -- without triggering loads of most of the code. Which doesn't work so | ||
well when you're using setup.py to install e.g. paramiko! | ||
""" | ||
from context_managers import warnings_only | ||
from decorators import hosts, roles, runs_once | ||
from operations import require, prompt, put, get, run, sudo, local | ||
from state import env | ||
from utils import abort, warn |