mirror of https://github.com/nucypher/nucypher.git
Understand nucypher CLI to be a module
parent
277e2bd0ee
commit
c45e534823
2
setup.py
2
setup.py
|
@ -155,7 +155,7 @@ setup(name=ABOUT['__title__'],
|
||||||
'blockchain/eth/sol/source/zepellin/token/*']},
|
'blockchain/eth/sol/source/zepellin/token/*']},
|
||||||
include_package_data=True,
|
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},
|
cmdclass={'verify': VerifyVersionCommand},
|
||||||
|
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
|
|
@ -17,7 +17,7 @@ along with nucypher. If not, see <https://www.gnu.org/licenses/>.
|
||||||
import pytest
|
import pytest
|
||||||
from click.testing import CliRunner
|
from click.testing import CliRunner
|
||||||
|
|
||||||
from scripts.cli import cli
|
from nucypher.cli import cli
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.usefixtures("three_agents")
|
@pytest.mark.usefixtures("three_agents")
|
||||||
|
|
|
@ -21,7 +21,7 @@ import pytest
|
||||||
import shutil
|
import shutil
|
||||||
from click.testing import CliRunner
|
from click.testing import CliRunner
|
||||||
|
|
||||||
from scripts.cli import cli
|
from nucypher.cli import cli
|
||||||
from nucypher.config.node import NodeConfiguration
|
from nucypher.config.node import NodeConfiguration
|
||||||
from nucypher.utilities.sandbox.constants import TEST_URSULA_INSECURE_DEVELOPMENT_PASSWORD
|
from nucypher.utilities.sandbox.constants import TEST_URSULA_INSECURE_DEVELOPMENT_PASSWORD
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ along with nucypher. If not, see <https://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
from click.testing import CliRunner
|
from click.testing import CliRunner
|
||||||
|
|
||||||
from scripts.cli import cli
|
from nucypher.cli import cli
|
||||||
|
|
||||||
|
|
||||||
def test_help_message():
|
def test_help_message():
|
||||||
|
|
|
@ -22,7 +22,7 @@ from click.testing import CliRunner
|
||||||
from twisted.internet import threads
|
from twisted.internet import threads
|
||||||
from twisted.internet.error import CannotListenError
|
from twisted.internet.error import CannotListenError
|
||||||
|
|
||||||
from scripts.cli import cli
|
from nucypher.cli import cli
|
||||||
from nucypher.characters.base import Learner
|
from nucypher.characters.base import Learner
|
||||||
from nucypher.utilities.sandbox.constants import TEST_URSULA_INSECURE_DEVELOPMENT_PASSWORD
|
from nucypher.utilities.sandbox.constants import TEST_URSULA_INSECURE_DEVELOPMENT_PASSWORD
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ along with nucypher. If not, see <https://www.gnu.org/licenses/>.
|
||||||
import pytest
|
import pytest
|
||||||
from click.testing import CliRunner
|
from click.testing import CliRunner
|
||||||
|
|
||||||
from scripts.cli import cli
|
from nucypher.cli import cli
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip
|
@pytest.mark.skip
|
||||||
|
|
|
@ -18,7 +18,7 @@ along with nucypher. If not, see <https://www.gnu.org/licenses/>.
|
||||||
import pytest
|
import pytest
|
||||||
from twisted.logger import globalLogPublisher
|
from twisted.logger import globalLogPublisher
|
||||||
|
|
||||||
from scripts.cli import NucypherClickConfig
|
from nucypher.cli import NucypherClickConfig
|
||||||
from nucypher.utilities.logging import simpleObserver
|
from nucypher.utilities.logging import simpleObserver
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue