From 8ee6afa424c81c1c4df036144b42d89123944196 Mon Sep 17 00:00:00 2001 From: Moritz Kiefer Date: Tue, 15 Jan 2013 21:57:35 +0100 Subject: [PATCH] Further improvements to the documentation --- .gitignore | 3 ++- diaspy.py | 4 ++-- docs/source/conf.py | 1 + setup.py | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) mode change 100755 => 100644 diaspy.py diff --git a/.gitignore b/.gitignore index e27f187..666aa6a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *~ *.swp docs/build/* -diaspy/__pycache__/* +__pycache__/* + diff --git a/diaspy.py b/diaspy.py old mode 100755 new mode 100644 index 8e5dab4..66d9d38 --- a/diaspy.py +++ b/diaspy.py @@ -1,5 +1,5 @@ """ -.. module:: diaspora_api.diaspy +.. module:: diaspy :platform: Unix, Windows :synopsis: Simple python api for diaspora @@ -15,7 +15,7 @@ class Client: .. note:: - Before calling any other function you have to call :func:`diaspy.diaspy.Client.login`. + Before calling any other function you have to call :func:`diaspy.Client.login`. """ diff --git a/docs/source/conf.py b/docs/source/conf.py index 3b9c0e8..7f47030 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -18,6 +18,7 @@ import sys, os # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. #sys.path.insert(0, os.path.abspath('.')) +sys.path.insert(0, os.path.abspath(os.path.join(os.pardir, os.pardir))) # -- General configuration ----------------------------------------------------- diff --git a/setup.py b/setup.py index 679a86c..01c5dcf 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from distutils.core import setup setup(name='diaspy', - version='1.0', + version='0.0.1', author='Moritz Kiefer', author_email='moritz.kiefer@gmail.com', py_modules=['diaspy'], -- 2.25.1