[Python-modules-commits] [pytest-runner] 05/09: Import pytest-runner_2.7.orig.tar.gz

Brian May bam at moszumanska.debian.org
Sun Apr 3 02:29:32 UTC 2016


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

bam pushed a commit to branch master
in repository pytest-runner.

commit d89c5c0e0aef674148cd47b2bfd273d55401f573
Author: Brian May <brian at linuxpenguins.xyz>
Date:   Sun Apr 3 12:15:50 2016 +1000

    Import pytest-runner_2.7.orig.tar.gz
---
 .gitignore                         |   0
 .hgtags                            |   2 +
 .travis.yml                        |   8 ++
 CHANGES.txt => CHANGES.rst         |   5 +
 PKG-INFO                           |   6 +-
 README.txt => README.rst           | 190 ++++++++++++++++++-------------------
 docs/conf.py                       |  38 ++++----
 docs/history.rst                   |  16 ++--
 docs/index.rst                     |  34 +++----
 pytest.ini                         |   7 +-
 pytest_runner.egg-info/PKG-INFO    |   6 +-
 pytest_runner.egg-info/SOURCES.txt |   6 +-
 setup.cfg                          |   7 +-
 setup.py                           | 109 ++++++++++-----------
 14 files changed, 229 insertions(+), 205 deletions(-)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e69de29
diff --git a/.hgtags b/.hgtags
index f4f2ea8..bdc4463 100644
--- a/.hgtags
+++ b/.hgtags
@@ -19,3 +19,5 @@ fe07ae9c3f076ebf3b716e9951de5492314159df 2.5.1
 0304f39b40f791b81da8a14aed6e8910f798af14 2.6
 cce8431d8b4d9441740a723c7c700d810a4662f8 2.6.1
 0cc61470c2a2fd5b0ed2c4c4ac7480bf68526f6e 2.6.2
+daf0974a5e9348b8c8e20e9ee227702edc5b6e75 2.6.3
+a1fa887922d237f915ba51f9022f4da983ceb32e 2.7
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..6e5e969
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,8 @@
+sudo: false
+language: python
+python:
+ - 2.7
+ - 3.5
+script:
+ - pip install -U pytest
+ - python setup.py test
diff --git a/CHANGES.txt b/CHANGES.rst
similarity index 97%
rename from CHANGES.txt
rename to CHANGES.rst
index 49fbee0..e10d0e2 100644
--- a/CHANGES.txt
+++ b/CHANGES.rst
@@ -1,3 +1,8 @@
+2.7
+~~~
+
+* Moved hosting to Github.
+
 2.6
 ~~~
 
diff --git a/PKG-INFO b/PKG-INFO
index d0436a5..8474242 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,11 +1,11 @@
 Metadata-Version: 1.1
 Name: pytest-runner
-Version: 2.6.2
+Version: 2.7
 Summary: Invoke py.test as distutils command with dependency resolution.
 Home-page: https://bitbucket.org/pytest-dev/pytest-runner
 Author: Jason R. Coombs
 Author-email: jaraco at jaraco.com
-License: MIT
+License: UNKNOWN
 Description: pytest-runner
         =============
         
@@ -26,7 +26,7 @@ Description: pytest-runner
           section of setup.cfg.
         - Set permanent options for the pytest run itself in the ``[pytest]``
           section of pytest.ini or tox.ini. See `pytest 567
-          <https://bitbucket.org/hpk42/pytest/issue/567>`_ for details on
+          <https://bitbucket.org/pytest-dev/pytest/issues/567/>`_ for details on
           why setup.cfg is inadequate.
         - Optionally, set ``test=pytest`` in the ``[aliases]`` section of setup.cfg
           to cause ``setup.py test`` to invoke pytest.
diff --git a/README.txt b/README.rst
similarity index 95%
rename from README.txt
rename to README.rst
index 7b099e8..b9d5322 100644
--- a/README.txt
+++ b/README.rst
@@ -1,95 +1,95 @@
-pytest-runner
-=============
-
-Setup scripts can use pytest-runner to add setup.py test support for pytest
-runner.
-
-Usage
------
-
-- Add 'pytest-runner' to your 'setup_requires'. Pin to '>=2.0,<3dev' (or
-  similar) to avoid pulling in incompatible versions.
-- Include 'pytest' and any other testing requirements to 'tests_require'.
-- Invoke tests with ``setup.py pytest``.
-- Pass ``--index-url`` to have test requirements downloaded from an alternate
-  index URL.
-- Pass additional py.test command-line options using ``--addopts``.
-- Set permanent options for the pytest distutils command in the ``[pytest]``
-  section of setup.cfg.
-- Set permanent options for the pytest run itself in the ``[pytest]``
-  section of pytest.ini or tox.ini. See `pytest 567
-  <https://bitbucket.org/hpk42/pytest/issue/567>`_ for details on
-  why setup.cfg is inadequate.
-- Optionally, set ``test=pytest`` in the ``[aliases]`` section of setup.cfg
-  to cause ``setup.py test`` to invoke pytest.
-
-Example
--------
-
-The most simple usage looks like this in setup.py::
-
-    setup(
-        setup_requires=[
-            'pytest-runner',
-        ],
-        tests_require=[
-            'pytest',
-        ],
-    )
-
-Additional dependencies require to run the tests (e.g. mock or pytest
-plugins) may be added to tests_require and will be downloaded and
-required by the session before invoking pytest.
-
-See the `jaraco.collections
-<https://bitbucket.org/jaraco/jaraco.collections/>`_ project
-for real-world usage.
-
-Standalone Example
-------------------
-
-Although ``pytest-runner`` is typically used to add pytest test
-runner support to maintained packages, ``pytest-runner`` may
-also be used to create standalone tests. Consider `this example
-failure <https://gist.github.com/jaraco/d979a558bc0bf2194c23>`_,
-reported in `jsonpickle #117
-<https://github.com/jsonpickle/jsonpickle/issues/117>`_.
-
-That single file may be cloned or downloaded and simply run on
-any system with Python and Setuptools. It will download the
-specified dependencies and run the tests. Afterward, the the
-cloned directory can be removed and with it all trace of
-invoking the test. No other dependencies are needed and no
-system configuration is altered.
-
-Then, anyone trying to replicate the failure can do so easily
-and with all the power of pytest (rewritten assertions,
-rich comparisons, interactive debugging, extensibility through
-plugins, etc).
-
-As a result, the communication barrier for describing and
-replicating failures is made almost trivially low.
-
-Considerations
---------------
-
-Conditional Requirement
-~~~~~~~~~~~~~~~~~~~~~~~
-
-Because it uses Setuptools setup_requires, pytest-runner will install itself
-on every invocation of setup.py. In some cases, this causes delays for
-invocations of setup.py that will never invoke pytest-runner. To help avoid
-this contingency, consider requiring pytest-runner only when pytest
-is invoked::
-
-    needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
-    pytest_runner = ['pytest-runner'] if needs_pytest else []
-
-    # ...
-
-    setup(
-        #...
-        setup_requires=[
-            #... (other setup requirements)
-        ] + pytest_runner,
-    )
+pytest-runner
+=============
+
+Setup scripts can use pytest-runner to add setup.py test support for pytest
+runner.
+
+Usage
+-----
+
+- Add 'pytest-runner' to your 'setup_requires'. Pin to '>=2.0,<3dev' (or
+  similar) to avoid pulling in incompatible versions.
+- Include 'pytest' and any other testing requirements to 'tests_require'.
+- Invoke tests with ``setup.py pytest``.
+- Pass ``--index-url`` to have test requirements downloaded from an alternate
+  index URL.
+- Pass additional py.test command-line options using ``--addopts``.
+- Set permanent options for the pytest distutils command in the ``[pytest]``
+  section of setup.cfg.
+- Set permanent options for the pytest run itself in the ``[pytest]``
+  section of pytest.ini or tox.ini. See `pytest 567
+  <https://bitbucket.org/pytest-dev/pytest/issues/567/>`_ for details on
+  why setup.cfg is inadequate.
+- Optionally, set ``test=pytest`` in the ``[aliases]`` section of setup.cfg
+  to cause ``setup.py test`` to invoke pytest.
+
+Example
+-------
+
+The most simple usage looks like this in setup.py::
+
+    setup(
+        setup_requires=[
+            'pytest-runner',
+        ],
+        tests_require=[
+            'pytest',
+        ],
+    )
+
+Additional dependencies require to run the tests (e.g. mock or pytest
+plugins) may be added to tests_require and will be downloaded and
+required by the session before invoking pytest.
+
+See the `jaraco.collections
+<https://bitbucket.org/jaraco/jaraco.collections/>`_ project
+for real-world usage.
+
+Standalone Example
+------------------
+
+Although ``pytest-runner`` is typically used to add pytest test
+runner support to maintained packages, ``pytest-runner`` may
+also be used to create standalone tests. Consider `this example
+failure <https://gist.github.com/jaraco/d979a558bc0bf2194c23>`_,
+reported in `jsonpickle #117
+<https://github.com/jsonpickle/jsonpickle/issues/117>`_.
+
+That single file may be cloned or downloaded and simply run on
+any system with Python and Setuptools. It will download the
+specified dependencies and run the tests. Afterward, the the
+cloned directory can be removed and with it all trace of
+invoking the test. No other dependencies are needed and no
+system configuration is altered.
+
+Then, anyone trying to replicate the failure can do so easily
+and with all the power of pytest (rewritten assertions,
+rich comparisons, interactive debugging, extensibility through
+plugins, etc).
+
+As a result, the communication barrier for describing and
+replicating failures is made almost trivially low.
+
+Considerations
+--------------
+
+Conditional Requirement
+~~~~~~~~~~~~~~~~~~~~~~~
+
+Because it uses Setuptools setup_requires, pytest-runner will install itself
+on every invocation of setup.py. In some cases, this causes delays for
+invocations of setup.py that will never invoke pytest-runner. To help avoid
+this contingency, consider requiring pytest-runner only when pytest
+is invoked::
+
+    needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
+    pytest_runner = ['pytest-runner'] if needs_pytest else []
+
+    # ...
+
+    setup(
+        #...
+        setup_requires=[
+            #... (other setup requirements)
+        ] + pytest_runner,
+    )
diff --git a/docs/conf.py b/docs/conf.py
index 923772a..81000ce 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,19 +1,19 @@
-#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
-
-import setuptools_scm
-
-extensions = [
-    'sphinx.ext.autodoc',
-]
-
-# General information about the project.
-project = 'pytest-runner'
-copyright = '2015 Jason R. Coombs'
-
-# The short X.Y version.
-version = setuptools_scm.get_version(root='..')
-# The full version, including alpha/beta/rc tags.
-release = version
-
-master_doc = 'index'
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+
+import setuptools_scm
+
+extensions = [
+    'sphinx.ext.autodoc',
+]
+
+# General information about the project.
+project = 'pytest-runner'
+copyright = '2015,2016 Jason R. Coombs'
+
+# The short X.Y version.
+version = setuptools_scm.get_version(root='..', relative_to=__file__)
+# The full version, including alpha/beta/rc tags.
+release = version
+
+master_doc = 'index'
diff --git a/docs/history.rst b/docs/history.rst
index db85fec..907000b 100644
--- a/docs/history.rst
+++ b/docs/history.rst
@@ -1,8 +1,8 @@
-:tocdepth: 2
-
-.. _changes:
-
-History
-*******
-
-.. include:: ../CHANGES.txt
+:tocdepth: 2
+
+.. _changes:
+
+History
+*******
+
+.. include:: ../CHANGES.rst
diff --git a/docs/index.rst b/docs/index.rst
index 89e2112..5a04483 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -1,17 +1,17 @@
-Welcome to pytest-runner documentation!
-=======================================
-
-.. toctree::
-   :maxdepth: 1
-
-   history
-
-.. include:: ../README.txt
-
-Indices and tables
-==================
-
-* :ref:`genindex`
-* :ref:`modindex`
-* :ref:`search`
-
+Welcome to pytest-runner documentation!
+=======================================
+
+.. toctree::
+   :maxdepth: 1
+
+   history
+
+.. include:: ../README.txt
+
+Indices and tables
+==================
+
+* :ref:`genindex`
+* :ref:`modindex`
+* :ref:`search`
+
diff --git a/pytest.ini b/pytest.ini
index f38e724..9752c36 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -1,3 +1,4 @@
-[pytest]
-norecursedirs=*.egg .eggs dist build
-addopts=--doctest-modules
+[pytest]
+norecursedirs=*.egg .eggs dist build
+addopts=--doctest-modules
+doctest_optionflags=ALLOW_UNICODE ELLIPSIS
diff --git a/pytest_runner.egg-info/PKG-INFO b/pytest_runner.egg-info/PKG-INFO
index d0436a5..8474242 100644
--- a/pytest_runner.egg-info/PKG-INFO
+++ b/pytest_runner.egg-info/PKG-INFO
@@ -1,11 +1,11 @@
 Metadata-Version: 1.1
 Name: pytest-runner
-Version: 2.6.2
+Version: 2.7
 Summary: Invoke py.test as distutils command with dependency resolution.
 Home-page: https://bitbucket.org/pytest-dev/pytest-runner
 Author: Jason R. Coombs
 Author-email: jaraco at jaraco.com
-License: MIT
+License: UNKNOWN
 Description: pytest-runner
         =============
         
@@ -26,7 +26,7 @@ Description: pytest-runner
           section of setup.cfg.
         - Set permanent options for the pytest run itself in the ``[pytest]``
           section of pytest.ini or tox.ini. See `pytest 567
-          <https://bitbucket.org/hpk42/pytest/issue/567>`_ for details on
+          <https://bitbucket.org/pytest-dev/pytest/issues/567/>`_ for details on
           why setup.cfg is inadequate.
         - Optionally, set ``test=pytest`` in the ``[aliases]`` section of setup.cfg
           to cause ``setup.py test`` to invoke pytest.
diff --git a/pytest_runner.egg-info/SOURCES.txt b/pytest_runner.egg-info/SOURCES.txt
index 4952872..9784ece 100644
--- a/pytest_runner.egg-info/SOURCES.txt
+++ b/pytest_runner.egg-info/SOURCES.txt
@@ -1,7 +1,9 @@
+.gitignore
 .hgignore
 .hgtags
-CHANGES.txt
-README.txt
+.travis.yml
+CHANGES.rst
+README.rst
 ptr.py
 pytest.ini
 setup.cfg
diff --git a/setup.cfg b/setup.cfg
index 5a445dd..8efa130 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,9 +1,12 @@
 [aliases]
-release = sdist build_sphinx upload upload_docs
+release = sdist bdist_wheel build_sphinx upload upload_docs
 test = pytest
 
+[wheel]
+universal = 1
+
 [egg_info]
-tag_build = 
 tag_date = 0
 tag_svn_revision = 0
+tag_build = 
 
diff --git a/setup.py b/setup.py
index 7c6596b..0cb6716 100644
--- a/setup.py
+++ b/setup.py
@@ -1,53 +1,56 @@
-#!/usr/bin/env python
-# Generated by jaraco.develop 2.14
-# https://pypi.python.org/pypi/jaraco.develop
-
-import io
-import sys
-
-import setuptools
-
-with io.open('README.txt', encoding='utf-8') as readme:
-	long_description = readme.read()
-
-needs_pytest = set(['pytest', 'test']).intersection(sys.argv)
-pytest_runner = ['pytest-runner'] if needs_pytest else []
-needs_sphinx = set(['release', 'build_sphinx', 'upload_docs']).intersection(sys.argv)
-sphinx = ['sphinx'] if needs_sphinx else []
-
-setup_params = dict(
-	name='pytest-runner',
-	use_scm_version=True,
-	author="Jason R. Coombs",
-	author_email="jaraco at jaraco.com",
-	description="Invoke py.test as distutils command with dependency "
-		"resolution.",
-	long_description=long_description,
-	url="https://bitbucket.org/pytest-dev/pytest-runner",
-	py_modules=['ptr'],
-	entry_points = {
-		'distutils.commands': [
-			'ptr = ptr:PyTest',
-			'pytest = ptr:PyTest',
-		],
-	},
-	install_requires=[
-	],
-	setup_requires=[
-		'setuptools_scm',
-	] + pytest_runner + sphinx,
-	tests_require=[
-		'pytest',
-	],
-	license='MIT',
-	classifiers=[
-		"Development Status :: 5 - Production/Stable",
-		"Intended Audience :: Developers",
-		"License :: OSI Approved :: MIT License",
-		"Programming Language :: Python :: 2.6",
-		"Programming Language :: Python :: 2.7",
-		"Programming Language :: Python :: 3",
-	],
-)
-if __name__ == '__main__':
-	setuptools.setup(**setup_params)
+#!/usr/bin/env python
+# Generated by jaraco.develop 2.27.1
+# https://pypi.python.org/pypi/jaraco.develop
+
+import io
+import sys
+
+import setuptools
+
+with io.open('README.rst', encoding='utf-8') as readme:
+	long_description = readme.read()
+
+needs_pytest = set(['pytest', 'test']).intersection(sys.argv)
+pytest_runner = ['pytest_runner'] if needs_pytest else []
+needs_sphinx = set(['release', 'build_sphinx', 'upload_docs']).intersection(sys.argv)
+sphinx = ['sphinx'] if needs_sphinx else []
+needs_wheel = set(['release', 'bdist_wheel']).intersection(sys.argv)
+wheel = ['wheel'] if needs_wheel else []
+
+setup_params = dict(
+	name='pytest-runner',
+	use_scm_version=True,
+	author="Jason R. Coombs",
+	author_email="jaraco at jaraco.com",
+	description="Invoke py.test as distutils command with dependency "
+		"resolution.",
+	long_description=long_description,
+	url="https://bitbucket.org/pytest-dev/pytest-runner",
+	py_modules=['ptr'],
+	install_requires=[
+	],
+	extras_require={
+	},
+	setup_requires=[
+		'setuptools_scm>=1.9',
+	] + pytest_runner + sphinx + wheel,
+	tests_require=[
+		'pytest>=2.8',
+	],
+	classifiers=[
+		"Development Status :: 5 - Production/Stable",
+		"Intended Audience :: Developers",
+		"License :: OSI Approved :: MIT License",
+		"Programming Language :: Python :: 2.6",
+		"Programming Language :: Python :: 2.7",
+		"Programming Language :: Python :: 3",
+	],
+	entry_points = {
+		'distutils.commands': [
+			'ptr = ptr:PyTest',
+			'pytest = ptr:PyTest',
+		],
+	},
+)
+if __name__ == '__main__':
+	setuptools.setup(**setup_params)

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



More information about the Python-modules-commits mailing list