Further improvements to the documentation
authorMoritz Kiefer <moritz.kiefer@gmail.com>
Tue, 15 Jan 2013 20:12:59 +0000 (21:12 +0100)
committerMoritz Kiefer <moritz.kiefer@gmail.com>
Tue, 15 Jan 2013 20:12:59 +0000 (21:12 +0100)
diaspy.py [moved from diaspy/diaspy.py with 95% similarity]
diaspy/__init__.py [deleted file]
docs/source/index.rst
setup.py

similarity index 95%
rename from diaspy/diaspy.py
rename to diaspy.py
index 2ec0d103b7c61ebc975b7b7b0acc0171a0a1e152..8e5dab4e4760e2268add489ebdfceb54f9bcd29a 100755 (executable)
+++ b/diaspy.py
@@ -28,9 +28,9 @@ class Client:
         """This function is used to connect to the pod and log in.
         
         :param username: The username used to log in.
-        :type username: str.
+        :type username: str
         :param password: The password used to log in.
-        :type password: str.
+        :type password: str
         
         """
         self._username = username
@@ -51,7 +51,7 @@ class Client:
         :param text: Text to post.
         :type text: str
         :param aspect_id: Aspect id to send post to.
-        :type aspect_id: str.
+        :type aspect_id: str
         
         """
         r = self._session.get(self._pod + "/stream")
diff --git a/diaspy/__init__.py b/diaspy/__init__.py
deleted file mode 100644 (file)
index 00322e8..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-pass
-pass
-pass
index 9b8c9af5c76cf7763d42ecb16be4e322ffaa2aa2..e0620f55d32da7597950286c9dcef3de2db42b6e 100644 (file)
@@ -11,7 +11,7 @@ Contents:
 .. toctree::
    :maxdepth: 2
 
-.. autoclass:: diaspy.diaspy.Client
+.. autoclass:: diaspy.Client
     :members:
 
 
index 28343ff3695950858aa4687c67db642ded93f572..679a86c500967fc810aefd8e4499ea3af0357c21 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -3,6 +3,6 @@ setup(name='diaspy',
       version='1.0',
       author='Moritz Kiefer',
       author_email='moritz.kiefer@gmail.com',
-      py_modules=['diaspy.diaspy'],
+      py_modules=['diaspy'],
       requires=['requests']
       )