From 0e28873e0a7f18732c5b91ed29e6a0021529977c Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Mon, 17 Aug 2015 17:27:37 +0300 Subject: [PATCH] trezor: move into subpackage --- setup.py | 2 +- sshagent/{trezor.py => trezor/__init__.py} | 4 ++-- sshagent/{ => trezor}/trezor_library.py | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename sshagent/{trezor.py => trezor/__init__.py} (99%) rename sshagent/{ => trezor}/trezor_library.py (100%) diff --git a/setup.py b/setup.py index 7662f57..b085a62 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( author_email='roman.zeyde@gmail.com', license='MIT', url='http://github.com/romanz/trezor-agent', - packages=['sshagent'], + packages=['sshagent', 'sshagent.trezor'], install_requires=['ecdsa', 'trezor', 'bitcoin'], platforms=['POSIX'], classifiers=[ diff --git a/sshagent/trezor.py b/sshagent/trezor/__init__.py similarity index 99% rename from sshagent/trezor.py rename to sshagent/trezor/__init__.py index 33d378e..901dd45 100644 --- a/sshagent/trezor.py +++ b/sshagent/trezor/__init__.py @@ -5,8 +5,8 @@ import binascii import time import os -from . import util -from . import formats +from .. import util +from .. import formats from . import trezor_library import logging diff --git a/sshagent/trezor_library.py b/sshagent/trezor/trezor_library.py similarity index 100% rename from sshagent/trezor_library.py rename to sshagent/trezor/trezor_library.py