Commits

ben...@localhost.nymphormation.net  committed 25aabf5

little fix in doc.

  • Participants
  • Parent commits 72b85fd

Comments (0)

Files changed (2)

File restclient/rest.py

 
 class RestClient(object):
     """Basic rest client
-    >>> res = RestClient()
-    >>> xml = res.get('http://pypaste.com/about')
-    >>> json = res.get('http://pypaste.com/3XDqQ8G83LlzVWgCeWdwru', headers={'accept': 'application/json'})
-    >>> json
-    '{"snippet": "testing API.", "title": "", "id": "3XDqQ8G83LlzVWgCeWdwru", "language": "text", "revision": "363934613139"}'
+
+        >>> res = RestClient()
+        >>> xml = res.get('http://pypaste.com/about')
+        >>> json = res.get('http://pypaste.com/3XDqQ8G83LlzVWgCeWdwru', headers={'accept': 'application/json'})
+        >>> json
+        '{"snippet": "testing API.", "title": "", "id": "3XDqQ8G83LlzVWgCeWdwru", "language": "text", "revision": "363934613139"}'
     """
 
     def __init__(self, httpclient=None):
     author = 'Benoit Chesneau',
     author_email = 'benoitc@e-engura.org',
     license = 'BSD',
-    url = 'http://dev.e-engura.com/hg/python-restclient',
+    url = 'http://ipython-restclient.e-engura.org',
     zip_safe = True,
 
     classifiers = [
         'Topic :: Software Development :: Libraries',
     ],
     packages = ['restclient'],
-    test_suite = 'restclient.tests.suite',
+    setup_requires = [
+        'setuptools>=0.6b1',
+    ],
+
 )