[Python-modules-commits] [mailmanclient] 01/03: Import mailmanclient_3.1.orig.tar.gz

Jonas Meurer mejo at moszumanska.debian.org
Wed Sep 20 16:33:48 UTC 2017


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

mejo pushed a commit to branch master
in repository mailmanclient.

commit c2a4e57cda5557b11a592d82c197d61a9561bdc1
Author: Jonas Meurer <jonas at freesources.org>
Date:   Wed Sep 20 18:24:03 2017 +0200

    Import mailmanclient_3.1.orig.tar.gz
---
 COPYING.LESSER                                  |  165 +
 MANIFEST.in                                     |    7 +
 Makefile                                        |   94 +
 PKG-INFO                                        |  124 +
 README.rst                                      |   62 +
 setup.cfg                                       |   11 +
 setup.py                                        |   45 +
 setup_helpers.py                                |  143 +
 src/mailmanclient.egg-info/PKG-INFO             |  124 +
 src/mailmanclient.egg-info/SOURCES.txt          |   35 +
 src/mailmanclient.egg-info/dependency_links.txt |    1 +
 src/mailmanclient.egg-info/requires.txt         |    2 +
 src/mailmanclient.egg-info/top_level.txt        |    1 +
 src/mailmanclient/NEWS.rst                      |   32 +
 src/mailmanclient/README.rst                    |   81 +
 src/mailmanclient/__init__.py                   |   31 +
 src/mailmanclient/_client.py                    | 1357 ++++++++
 src/mailmanclient/constants.py                  |   21 +
 src/mailmanclient/docs/__init__.py              |    0
 src/mailmanclient/docs/apiref.rst               |   69 +
 src/mailmanclient/docs/conf.py                  |  263 ++
 src/mailmanclient/docs/index.rst                |   64 +
 src/mailmanclient/docs/testing.rst              |   95 +
 src/mailmanclient/docs/using.rst                | 1219 +++++++
 src/mailmanclient/testing/__init__.py           |    0
 src/mailmanclient/testing/documentation.py      |   81 +
 src/mailmanclient/testing/nose.py               |  132 +
 src/mailmanclient/testing/vcr_helpers.py        |  105 +
 src/mailmanclient/tests/__init__.py             |    0
 src/mailmanclient/tests/data/tape.yaml          | 4243 +++++++++++++++++++++++
 src/mailmanclient/tests/test_domain.py          |   47 +
 src/mailmanclient/tests/test_page.py            |   55 +
 src/mailmanclient/tests/test_unicode.py         |   55 +
 template.py                                     |   23 +
 tox.ini                                         |   27 +
 unittest.cfg                                    |   10 +
 36 files changed, 8824 insertions(+)

diff --git a/COPYING.LESSER b/COPYING.LESSER
new file mode 100644
index 0000000..cca7fc2
--- /dev/null
+++ b/COPYING.LESSER
@@ -0,0 +1,165 @@
+		   GNU LESSER GENERAL PUBLIC LICENSE
+                       Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+  This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+  0. Additional Definitions.
+
+  As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+  "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+  An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+  A "Combined Work" is a work produced by combining or linking an
+Application with the Library.  The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+  The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+  The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+  1. Exception to Section 3 of the GNU GPL.
+
+  You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+  2. Conveying Modified Versions.
+
+  If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+   a) under this License, provided that you make a good faith effort to
+   ensure that, in the event an Application does not supply the
+   function or data, the facility still operates, and performs
+   whatever part of its purpose remains meaningful, or
+
+   b) under the GNU GPL, with none of the additional permissions of
+   this License applicable to that copy.
+
+  3. Object Code Incorporating Material from Library Header Files.
+
+  The object code form of an Application may incorporate material from
+a header file that is part of the Library.  You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+   a) Give prominent notice with each copy of the object code that the
+   Library is used in it and that the Library and its use are
+   covered by this License.
+
+   b) Accompany the object code with a copy of the GNU GPL and this license
+   document.
+
+  4. Combined Works.
+
+  You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+   a) Give prominent notice with each copy of the Combined Work that
+   the Library is used in it and that the Library and its use are
+   covered by this License.
+
+   b) Accompany the Combined Work with a copy of the GNU GPL and this license
+   document.
+
+   c) For a Combined Work that displays copyright notices during
+   execution, include the copyright notice for the Library among
+   these notices, as well as a reference directing the user to the
+   copies of the GNU GPL and this license document.
+
+   d) Do one of the following:
+
+       0) Convey the Minimal Corresponding Source under the terms of this
+       License, and the Corresponding Application Code in a form
+       suitable for, and under terms that permit, the user to
+       recombine or relink the Application with a modified version of
+       the Linked Version to produce a modified Combined Work, in the
+       manner specified by section 6 of the GNU GPL for conveying
+       Corresponding Source.
+
+       1) Use a suitable shared library mechanism for linking with the
+       Library.  A suitable mechanism is one that (a) uses at run time
+       a copy of the Library already present on the user's computer
+       system, and (b) will operate properly with a modified version
+       of the Library that is interface-compatible with the Linked
+       Version.
+
+   e) Provide Installation Information, but only if you would otherwise
+   be required to provide such information under section 6 of the
+   GNU GPL, and only to the extent that such information is
+   necessary to install and execute a modified version of the
+   Combined Work produced by recombining or relinking the
+   Application with a modified version of the Linked Version. (If
+   you use option 4d0, the Installation Information must accompany
+   the Minimal Corresponding Source and Corresponding Application
+   Code. If you use option 4d1, you must provide the Installation
+   Information in the manner specified by section 6 of the GNU GPL
+   for conveying Corresponding Source.)
+
+  5. Combined Libraries.
+
+  You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+   a) Accompany the combined library with a copy of the same work based
+   on the Library, uncombined with any other library facilities,
+   conveyed under the terms of this License.
+
+   b) Give prominent notice with the combined library that part of it
+   is a work based on the Library, and explaining where to find the
+   accompanying uncombined form of the same work.
+
+  6. Revised Versions of the GNU Lesser General Public License.
+
+  The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+  Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+  If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 0000000..95b21d1
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1,7 @@
+include *.py MANIFEST.in *.cfg *.ini COPYING.LESSER
+global-include *.txt *.rst *.yaml
+include Makefile
+prune _build
+prune dist
+prune .tox
+exclude .bzrignore
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..6a7ccab
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,94 @@
+# Makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line.
+SPHINXOPTS    =
+SPHINXBUILD   = sphinx-build
+PAPER         =
+
+# Internal variables.
+PAPEROPT_a4     = -D latex_paper_size=a4
+PAPEROPT_letter = -D latex_paper_size=letter
+ALLSPHINXOPTS   = -d _build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
+
+.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
+
+help:
+	@echo "Please use \`make <target>' where <target> is one of"
+	@echo "  html      to make standalone HTML files"
+	@echo "  dirhtml   to make HTML files named index.html in directories"
+	@echo "  pickle    to make pickle files"
+	@echo "  json      to make JSON files"
+	@echo "  htmlhelp  to make HTML files and a HTML help project"
+	@echo "  qthelp    to make HTML files and a qthelp project"
+	@echo "  latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
+	@echo "  changes   to make an overview of all changed/added/deprecated items"
+	@echo "  linkcheck to check all external links for integrity"
+	@echo "  doctest   to run all doctests embedded in the documentation (if enabled)"
+
+clean:
+	-rm -rf _build/*
+
+html:
+	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html
+	@echo
+	@echo "Build finished. The HTML pages are in _build/html."
+
+dirhtml:
+	$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) _build/dirhtml
+	@echo
+	@echo "Build finished. The HTML pages are in _build/dirhtml."
+
+pickle:
+	$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) _build/pickle
+	@echo
+	@echo "Build finished; now you can process the pickle files."
+
+json:
+	$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) _build/json
+	@echo
+	@echo "Build finished; now you can process the JSON files."
+
+htmlhelp:
+	$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) _build/htmlhelp
+	@echo
+	@echo "Build finished; now you can run HTML Help Workshop with the" \
+	      ".hhp project file in _build/htmlhelp."
+
+qthelp:
+	$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) _build/qthelp
+	@echo
+	@echo "Build finished; now you can run "qcollectiongenerator" with the" \
+	      ".qhcp project file in _build/qthelp, like this:"
+	@echo "# qcollectiongenerator _build/qthelp/munepy.qhcp"
+	@echo "To view the help file:"
+	@echo "# assistant -collectionFile _build/qthelp/munepy.qhc"
+
+latex:
+	$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex
+	@echo
+	@echo "Build finished; the LaTeX files are in _build/latex."
+	@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
+	      "run these through (pdf)latex."
+
+changes:
+	$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) _build/changes
+	@echo
+	@echo "The overview file is in _build/changes."
+
+linkcheck:
+	$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) _build/linkcheck
+	@echo
+	@echo "Link check complete; look for any errors in the above output " \
+	      "or in _build/linkcheck/output.txt."
+
+doctest:
+	$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) _build/doctest
+	@echo "Testing of doctests in the sources finished, look at the " \
+	      "results in _build/doctest/output.txt."
+
+pypi: html
+	(cd _build/html; \
+	 rm -f index.html; \
+	 ln -s README.html index.html; \
+	 zip -r ../pypi .)
diff --git a/PKG-INFO b/PKG-INFO
new file mode 100644
index 0000000..23bcb2e
--- /dev/null
+++ b/PKG-INFO
@@ -0,0 +1,124 @@
+Metadata-Version: 1.0
+Name: mailmanclient
+Version: 3.1
+Summary: ..
+Home-page: https://www.list.org/
+Author: Barry Warsaw
+Author-email: barry at list.org
+License: LGPLv3
+Description: ===========================================================
+        mailman.client - Python bindings for the Mailman 3 REST API
+        ===========================================================
+        
+        This package is called ``mailmanclient``.
+        
+        
+        Requirements
+        ============
+        
+        ``mailmanclient`` requires Python 2.6 or newer, and is compatible with Python 3 
+        
+        
+        Documentation
+        =============
+        
+        A `simple guide`_ to using the library is available within this package, in
+        the form of doctests.   The manual is also available online at:
+        
+            http://mailmanclient.readthedocs.org/en/latest/
+        
+        
+        Project details
+        ===============
+        
+        The project home page is:
+        
+            https://gitlab.com/mailman/mailmanclient
+        
+        You should report bugs at:
+        
+            https://gitlab.com/mailman/mailmanclient/issues
+        
+        You can download the latest version of the package either from the Cheeseshop:
+        
+            http://pypi.python.org/pypi/mailmanclient
+        
+        or from the GitLab page above.  Of course you can also just install it with
+        ``pip`` from the command line::
+        
+            % sudo pip mailmanclient
+        
+        You can grab the latest development copy of the code using Git, from the Gitlab
+        home page above. If you have Git installed, you can grab your own branch of
+        the code like this::
+        
+             git clone https://gitlab.com/mailman/mailmanclient.git
+        
+        You may contact the developers via mailman-developers at python.org
+        
+        
+        Copyright
+        =========
+        
+        Copyright (C) 2010-2017 by The Free Software Foundation, Inc.
+        
+        This file is part of mailman.client.
+        
+        mailman.client is free software: you can redistribute it and/or modify it
+        under the terms of the GNU Lesser General Public License as published by the
+        Free Software Foundation, either version 3 of the License, or (at your option)
+        any later version.
+        
+        mailman.client is distributed in the hope that it will be useful, but WITHOUT
+        ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+        FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
+        details.
+        
+        You should have received a copy of the GNU Lesser General Public License along
+        with mailman.client.  If not, see <http://www.gnu.org/licenses/>.
+        
+        
+        Table of Contents
+        =================
+        
+        .. toctree::
+        
+            docs/using.txt
+            NEWS.txt
+        
+        .. _`simple guide`: docs/using.html
+        
+        =======================
+        NEWS for mailman.client
+        =======================
+        
+        3.1 (2017-XX-XX)
+        ================
+        
+         * Bug fixes.
+         * Align with Mailman 3.1 Core REST API.
+         * Python3 compatibility is broken because of a urllib bug.
+        
+        
+        1.0.1 (2015-11-14)
+        ==================
+        
+         * Bugfix release.
+        
+        
+        1.0.0 (2015-04-17)
+        ==================
+        
+         * Port to Python 3.4.
+         * Run test suite with `tox`.
+         * Use vcrpy for HTTP testing.
+         * Add list archiver access.
+         * Add subscription moderation
+        
+        
+        1.0.0a1 (2014-03-15)
+        ====================
+        
+         * Initial release.
+        
+Platform: UNKNOWN
diff --git a/README.rst b/README.rst
new file mode 100644
index 0000000..f29afdb
--- /dev/null
+++ b/README.rst
@@ -0,0 +1,62 @@
+..
+    This file is part of mailmanclient.
+
+    mailmanclient is free software: you can redistribute it and/or modify it
+    under the terms of the GNU Lesser General Public License as published by
+    the Free Software Foundation, version 3 of the License.
+
+    mailmanclient is distributed in the hope that it will be useful, but
+    WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
+    License for more details.
+
+    You should have received a copy of the GNU Lesser General Public License
+    along with mailman.client.  If not, see <http://www.gnu.org/licenses/>.
+
+
+==============
+Mailman Client
+==============
+
+The ``mailmanclient`` library provides official Python bindings for the GNU
+Mailman 3 REST API.
+
+
+Requirements
+============
+
+``mailmanclient`` requires Python 2.6 or Python 2.7. Python3 support is on its
+way and will be added soon.
+
+
+Project details
+===============
+
+You may download the latest version of the package from the Python
+`Cheese Shop`_ or from GitLab_.
+
+You can also install it via ``pip``::
+
+    $ sudo pip install mailmanclient
+
+See the GitLab project page for access to the development branch, issues, etc.
+
+
+Acknowledgements
+================
+
+Many thanks to Florian Fuchs for his contribution of an initial REST client.
+
+
+.. toctree::
+   :maxdepth: 1
+   :caption: Table of Contents
+
+   using.rst
+   apiref.rst
+   testing.rst
+   src/mailmanclient/NEWS.rst
+
+
+.. _`Cheese Shop`: https://pypi.python.org/pypi/mailmanclient
+.. _GitLab: https://gitlab.com/mailman/mailmanclient
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..e893abb
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,11 @@
+[build_sphinx]
+source_dir = mailman/client
+
+[upload_docs]
+upload_dir = build/sphinx/html
+
+[egg_info]
+tag_build = 
+tag_date = 0
+tag_svn_revision = 0
+
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..fa1d1ab
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,45 @@
+# Copyright (C) 2010-2017 The Free Software Foundation, Inc.
+#
+# This file is part of mailman.client.
+#
+# mailman.client is free software: you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or (at your
+# option) any later version.
+#
+# mailman.client is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+# for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with mailman.client.  If not, see <http://www.gnu.org/licenses/>.
+
+from setup_helpers import (
+    description, get_version, long_description, require_python)
+from setuptools import setup, find_packages
+
+
+require_python(0x20600f0)
+__version__ = get_version('src/mailmanclient/constants.py')
+
+
+setup(
+    name='mailmanclient',
+    version=__version__,
+    packages=find_packages('src'),
+    package_dir={'': 'src'},
+    include_package_data=True,
+    maintainer='Barry Warsaw',
+    maintainer_email='barry at list.org',
+    description=description('README.rst'),
+    long_description=long_description(
+        'src/mailmanclient/README.rst',
+        'src/mailmanclient/NEWS.rst'),
+    license='LGPLv3',
+    url='https://www.list.org/',
+    install_requires=[
+        'httplib2',
+        'six',
+        ],
+    )
diff --git a/setup_helpers.py b/setup_helpers.py
new file mode 100644
index 0000000..653ab28
--- /dev/null
+++ b/setup_helpers.py
@@ -0,0 +1,143 @@
+# Copyright (C) 2009-2017 The Free Software Foundation, Inc.
+#
+# This file is part of mailman.client
+#
+# mailman.client is free software: you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by the
+# Free Software Foundation, version 3 of the License.
+#
+# mailman.client is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with mailman.client.  If not, see <http://www.gnu.org/licenses/>.
+
+"""setup.py helper functions."""
+
+from __future__ import absolute_import, print_function, unicode_literals
+
+import os
+import re
+import sys
+import codecs
+
+
+__metaclass__ = type
+__all__ = [
+    'description',
+    'find_doctests',
+    'get_version',
+    'long_description',
+    'require_python',
+    ]
+
+
+DEFAULT_VERSION_RE = re.compile(r'(?P<version>\d+\.\d(?:\.\d+)?)')
+NL = '\n'
+
+
+def require_python(minimum):
+    """Require at least a minimum Python version.
+
+    The version number is expressed in terms of `sys.hexversion`.  E.g. to
+    require a minimum of Python 2.6, use::
+
+    >>> require_python(0x206000f0)
+
+    :param minimum: Minimum Python version supported.
+    :type minimum: integer
+    """
+    if sys.hexversion < minimum:
+        hversion = hex(minimum)[2:]
+        if len(hversion) % 2 != 0:
+            hversion = '0' + hversion
+        split = list(hversion)
+        parts = []
+        while split:
+            parts.append(int(''.join((split.pop(0), split.pop(0))), 16))
+        major, minor, micro, release = parts
+        if release == 0xf0:
+            print('Python {0}.{1}.{2} or better is required'.format(
+                major, minor, micro))
+        else:
+            print('Python {0}.{1}.{2} ({3}) or better is required'.format(
+                major, minor, micro, hex(release)[2:]))
+        sys.exit(1)
+
+
+def get_version(filename, pattern=None):
+    """Extract the __version__ from a file without importing it.
+
+    While you could get the __version__ by importing the module, the very act
+    of importing can cause unintended consequences.  For example, Distribute's
+    automatic 2to3 support will break.  Instead, this searches the file for a
+    line that starts with __version__, and extract the version number by
+    regular expression matching.
+
+    By default, two or three dot-separated digits are recognized, but by
+    passing a pattern parameter, you can recognize just about anything.  Use
+    the `version` group name to specify the match group.
+
+    :param filename: The name of the file to search.
+    :type filename: string
+    :param pattern: Optional alternative regular expression pattern to use.
+    :type pattern: string
+    :return: The version that was extracted.
+    :rtype: string
+    """
+    if pattern is None:
+        cre = DEFAULT_VERSION_RE
+    else:
+        cre = re.compile(pattern)
+    with open(filename) as fp:
+        for line in fp:
+            if line.startswith('__version__'):
+                mo = cre.search(line)
+                assert mo, 'No valid __version__ string found'
+                return mo.group('version')
+    raise AssertionError('No __version__ assignment found')
+
+
+def find_doctests(start='.', extension='.txt'):
+    """Find separate-file doctests in the package.
+
+    This is useful for Distribute's automatic 2to3 conversion support.  The
+    `setup()` keyword argument `convert_2to3_doctests` requires file names,
+    which may be difficult to track automatically as you add new doctests.
+
+    :param start: Directory to start searching in (default is cwd)
+    :type start: string
+    :param extension: Doctest file extension (default is .txt)
+    :type extension: string
+    :return: The doctest files found.
+    :rtype: list
+    """
+    doctests = []
+    for dirpath, dirnames, filenames in os.walk(start):
+        doctests.extend(os.path.join(dirpath, filename)
+                        for filename in filenames
+                        if filename.endswith(extension))
+    return doctests
+
+
+def long_description(*filenames):
+    """Provide a long description."""
+    res = []
+    for value in filenames:
+        base, ext = os.path.splitext(value)
+        if ext in ('.txt', '.rst'):
+            with codecs.open(value, 'r', encoding='utf-8') as fp:
+                value = fp.read()
+        res.append(value)
+        if not value.endswith(NL):
+            res.append('')
+    return NL.join(res)
+
+
+def description(filename):
+    """Provide a short description."""
+    with codecs.open(filename, 'r', encoding='utf-8') as fp:
+        for line in fp:
+            return line.strip()
diff --git a/src/mailmanclient.egg-info/PKG-INFO b/src/mailmanclient.egg-info/PKG-INFO
new file mode 100644
index 0000000..23bcb2e
--- /dev/null
+++ b/src/mailmanclient.egg-info/PKG-INFO
@@ -0,0 +1,124 @@
+Metadata-Version: 1.0
+Name: mailmanclient
+Version: 3.1
+Summary: ..
+Home-page: https://www.list.org/
+Author: Barry Warsaw
+Author-email: barry at list.org
+License: LGPLv3
+Description: ===========================================================
+        mailman.client - Python bindings for the Mailman 3 REST API
+        ===========================================================
+        
+        This package is called ``mailmanclient``.
+        
+        
+        Requirements
+        ============
+        
+        ``mailmanclient`` requires Python 2.6 or newer, and is compatible with Python 3 
+        
+        
+        Documentation
+        =============
+        
+        A `simple guide`_ to using the library is available within this package, in
+        the form of doctests.   The manual is also available online at:
+        
+            http://mailmanclient.readthedocs.org/en/latest/
+        
+        
+        Project details
+        ===============
+        
+        The project home page is:
+        
+            https://gitlab.com/mailman/mailmanclient
+        
+        You should report bugs at:
+        
+            https://gitlab.com/mailman/mailmanclient/issues
+        
+        You can download the latest version of the package either from the Cheeseshop:
+        
+            http://pypi.python.org/pypi/mailmanclient
+        
+        or from the GitLab page above.  Of course you can also just install it with
+        ``pip`` from the command line::
+        
+            % sudo pip mailmanclient
+        
+        You can grab the latest development copy of the code using Git, from the Gitlab
+        home page above. If you have Git installed, you can grab your own branch of
+        the code like this::
+        
+             git clone https://gitlab.com/mailman/mailmanclient.git
+        
+        You may contact the developers via mailman-developers at python.org
+        
+        
+        Copyright
+        =========
+        
+        Copyright (C) 2010-2017 by The Free Software Foundation, Inc.
+        
+        This file is part of mailman.client.
+        
+        mailman.client is free software: you can redistribute it and/or modify it
+        under the terms of the GNU Lesser General Public License as published by the
+        Free Software Foundation, either version 3 of the License, or (at your option)
+        any later version.
+        
+        mailman.client is distributed in the hope that it will be useful, but WITHOUT
+        ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+        FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
+        details.
+        
+        You should have received a copy of the GNU Lesser General Public License along
+        with mailman.client.  If not, see <http://www.gnu.org/licenses/>.
+        
+        
+        Table of Contents
+        =================
+        
+        .. toctree::
+        
+            docs/using.txt
+            NEWS.txt
+        
+        .. _`simple guide`: docs/using.html
+        
+        =======================
+        NEWS for mailman.client
+        =======================
+        
+        3.1 (2017-XX-XX)
+        ================
+        
+         * Bug fixes.
+         * Align with Mailman 3.1 Core REST API.
+         * Python3 compatibility is broken because of a urllib bug.
+        
+        
+        1.0.1 (2015-11-14)
+        ==================
+        
+         * Bugfix release.
+        
+        
+        1.0.0 (2015-04-17)
+        ==================
+        
+         * Port to Python 3.4.
+         * Run test suite with `tox`.
+         * Use vcrpy for HTTP testing.
+         * Add list archiver access.
+         * Add subscription moderation
+        
+        
+        1.0.0a1 (2014-03-15)
+        ====================
+        
+         * Initial release.
+        
+Platform: UNKNOWN
diff --git a/src/mailmanclient.egg-info/SOURCES.txt b/src/mailmanclient.egg-info/SOURCES.txt
new file mode 100644
index 0000000..d6e4244
--- /dev/null
+++ b/src/mailmanclient.egg-info/SOURCES.txt
@@ -0,0 +1,35 @@
+COPYING.LESSER
+MANIFEST.in
+Makefile
+README.rst
+setup.cfg
+setup.py
+setup_helpers.py
+template.py
+tox.ini
+unittest.cfg
+src/mailmanclient/NEWS.rst
+src/mailmanclient/README.rst
+src/mailmanclient/__init__.py
+src/mailmanclient/_client.py
+src/mailmanclient/constants.py
+src/mailmanclient.egg-info/PKG-INFO
+src/mailmanclient.egg-info/SOURCES.txt
+src/mailmanclient.egg-info/dependency_links.txt
+src/mailmanclient.egg-info/requires.txt
+src/mailmanclient.egg-info/top_level.txt
+src/mailmanclient/docs/__init__.py
+src/mailmanclient/docs/apiref.rst
+src/mailmanclient/docs/conf.py
+src/mailmanclient/docs/index.rst
+src/mailmanclient/docs/testing.rst
+src/mailmanclient/docs/using.rst
+src/mailmanclient/testing/__init__.py
+src/mailmanclient/testing/documentation.py
+src/mailmanclient/testing/nose.py
+src/mailmanclient/testing/vcr_helpers.py
+src/mailmanclient/tests/__init__.py
+src/mailmanclient/tests/test_domain.py
+src/mailmanclient/tests/test_page.py
+src/mailmanclient/tests/test_unicode.py
+src/mailmanclient/tests/data/tape.yaml
\ No newline at end of file
diff --git a/src/mailmanclient.egg-info/dependency_links.txt b/src/mailmanclient.egg-info/dependency_links.txt
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/src/mailmanclient.egg-info/dependency_links.txt
@@ -0,0 +1 @@
+
diff --git a/src/mailmanclient.egg-info/requires.txt b/src/mailmanclient.egg-info/requires.txt
new file mode 100644
index 0000000..7229277
--- /dev/null
+++ b/src/mailmanclient.egg-info/requires.txt
@@ -0,0 +1,2 @@
+httplib2
+six
diff --git a/src/mailmanclient.egg-info/top_level.txt b/src/mailmanclient.egg-info/top_level.txt
new file mode 100644
index 0000000..8471bae
--- /dev/null
+++ b/src/mailmanclient.egg-info/top_level.txt
@@ -0,0 +1 @@
+mailmanclient
diff --git a/src/mailmanclient/NEWS.rst b/src/mailmanclient/NEWS.rst
new file mode 100644
index 0000000..13b861c
--- /dev/null
+++ b/src/mailmanclient/NEWS.rst
@@ -0,0 +1,32 @@
+=======================
+NEWS for mailman.client
+=======================
+
+3.1 (2017-XX-XX)
+================
+
+ * Bug fixes.
+ * Align with Mailman 3.1 Core REST API.
+ * Python3 compatibility is broken because of a urllib bug.
+
+
+1.0.1 (2015-11-14)
+==================
+
+ * Bugfix release.
+
+
+1.0.0 (2015-04-17)
+==================
+
+ * Port to Python 3.4.
+ * Run test suite with `tox`.
+ * Use vcrpy for HTTP testing.
+ * Add list archiver access.
+ * Add subscription moderation
+
+
+1.0.0a1 (2014-03-15)
+====================
+
+ * Initial release.
diff --git a/src/mailmanclient/README.rst b/src/mailmanclient/README.rst
new file mode 100644
index 0000000..dcb3048
--- /dev/null
+++ b/src/mailmanclient/README.rst
@@ -0,0 +1,81 @@
+===========================================================
+mailman.client - Python bindings for the Mailman 3 REST API
+===========================================================
+
+This package is called ``mailmanclient``.
+
+
+Requirements
+============
+
+``mailmanclient`` requires Python 2.6 or newer, and is compatible with Python 3 
+
+
+Documentation
+=============
+
+A `simple guide`_ to using the library is available within this package, in
+the form of doctests.   The manual is also available online at:
+
... 8076 lines suppressed ...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/mailmanclient.git



More information about the Python-modules-commits mailing list