-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Expose a programmatic API as ``from virtualenv import cli_run`` - by :user:`gaborbernat`. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Document a programmatic API as ``from virtualenv import cli_run`` under :ref:`programmatic_api` - | ||
by :user:`gaborbernat`. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
from __future__ import absolute_import, unicode_literals | ||
|
||
from .run import cli_run | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
zazaho
|
||
from .version import __version__ | ||
|
||
__all__ = ("__version__", "run") | ||
__all__ = ( | ||
"__version__", | ||
"cli_run", | ||
) |
on my box this creates a circular import. If I move the import cli_run after the version import everything is fine.
Error message:
AttributeError: partially initialized module 'virtualenv' has no attribute 'version' (most likely due to a circular import)