[Pkg-privacy-commits] [pyptlib] 48/136: Change imports to the new directory structure.

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:25:06 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository pyptlib.

commit 98e7b5036be1e87457183b0eb7d35f731e97b3dc
Author: George Kadianakis <desnacked at riseup.net>
Date:   Mon Sep 17 19:12:47 2012 +0300

    Change imports to the new directory structure.
---
 examples/client.py | 2 +-
 examples/server.py | 2 +-
 pyptlib/client.py  | 2 +-
 pyptlib/server.py  | 2 +-
 setup.py           | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/examples/client.py b/examples/client.py
index dbaa7a0..c413b72 100755
--- a/examples/client.py
+++ b/examples/client.py
@@ -3,7 +3,7 @@
 
 """ This is an example client which shows how to call the pyptlib.easy high-level API. """
 
-from pyptlib.easy.client import init, reportSuccess, reportFailure, \
+from pyptlib.client import init, reportSuccess, reportFailure, \
     reportEnd
 
 
diff --git a/examples/server.py b/examples/server.py
index c2137a4..408a5e4 100755
--- a/examples/server.py
+++ b/examples/server.py
@@ -3,7 +3,7 @@
 
 """ This is an example server which shows how to call the pyptlib.easy high-level API. """
 
-from pyptlib.easy.server import init, reportSuccess, reportFailure, \
+from pyptlib.server import init, reportSuccess, reportFailure, \
     reportEnd
 
 
diff --git a/pyptlib/client.py b/pyptlib/client.py
index a2244cd..9486190 100644
--- a/pyptlib/client.py
+++ b/pyptlib/client.py
@@ -4,7 +4,7 @@
 """ The pyptlib.easy.client module includes a convenient API for writing pluggable transport clients. """
 
 from pyptlib.config import EnvException
-from pyptlib.client import ClientConfig
+from pyptlib.client_config import ClientConfig
 
 
 def init(transports):
diff --git a/pyptlib/server.py b/pyptlib/server.py
index 6ed1870..b36ceee 100644
--- a/pyptlib/server.py
+++ b/pyptlib/server.py
@@ -4,7 +4,7 @@
 """ The pyptlib.easy.server module includes a convenient API for writing pluggable transport servers. """
 
 from pyptlib.config import EnvException
-from pyptlib.server import ServerConfig
+from pyptlib.server_config import ServerConfig
 
 
 def init(transports):
diff --git a/setup.py b/setup.py
index 83353dc..319a60e 100644
--- a/setup.py
+++ b/setup.py
@@ -26,6 +26,6 @@ setup(name='pyptlib',
       ],
       keywords='cryptography privacy internet',
       license='BSD',
-      package_dir={'pyptlib': 'src/pyptlib'},
+      package_dir={'pyptlib': 'pyptlib/'},
       packages=['pyptlib'],
      )

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/pyptlib.git



More information about the Pkg-privacy-commits mailing list