Understand nucypher CLI to be a module

pull/539/head
Kieran Prasch 2018-11-09 09:29:49 -08:00
parent 277e2bd0ee
commit c45e534823
No known key found for this signature in database
GPG Key ID: 199AB839D4125A62
7 changed files with 7 additions and 7 deletions

View File

@ -155,7 +155,7 @@ setup(name=ABOUT['__title__'],
'blockchain/eth/sol/source/zepellin/token/*']},
include_package_data=True,
entry_points={'console_scripts': ['{0}=scripts.cli:cli'.format(PACKAGE_NAME)]},
entry_points={'console_scripts': ['{0}={0}.cli:cli'.format(PACKAGE_NAME)]},
cmdclass={'verify': VerifyVersionCommand},
classifiers=[

View File

@ -17,7 +17,7 @@ along with nucypher. If not, see <https://www.gnu.org/licenses/>.
import pytest
from click.testing import CliRunner
from scripts.cli import cli
from nucypher.cli import cli
@pytest.mark.usefixtures("three_agents")

View File

@ -21,7 +21,7 @@ import pytest
import shutil
from click.testing import CliRunner
from scripts.cli import cli
from nucypher.cli import cli
from nucypher.config.node import NodeConfiguration
from nucypher.utilities.sandbox.constants import TEST_URSULA_INSECURE_DEVELOPMENT_PASSWORD

View File

@ -16,7 +16,7 @@ along with nucypher. If not, see <https://www.gnu.org/licenses/>.
"""
from click.testing import CliRunner
from scripts.cli import cli
from nucypher.cli import cli
def test_help_message():

View File

@ -22,7 +22,7 @@ from click.testing import CliRunner
from twisted.internet import threads
from twisted.internet.error import CannotListenError
from scripts.cli import cli
from nucypher.cli import cli
from nucypher.characters.base import Learner
from nucypher.utilities.sandbox.constants import TEST_URSULA_INSECURE_DEVELOPMENT_PASSWORD

View File

@ -17,7 +17,7 @@ along with nucypher. If not, see <https://www.gnu.org/licenses/>.
import pytest
from click.testing import CliRunner
from scripts.cli import cli
from nucypher.cli import cli
@pytest.mark.skip

View File

@ -18,7 +18,7 @@ along with nucypher. If not, see <https://www.gnu.org/licenses/>.
import pytest
from twisted.logger import globalLogPublisher
from scripts.cli import NucypherClickConfig
from nucypher.cli import NucypherClickConfig
from nucypher.utilities.logging import simpleObserver