Hello community,
here is the log from the commit of package python3-pytest-runner for
openSUSE:Factory checked in at 2016-02-16 09:19:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pytest-runner (Old)
and /work/SRC/openSUSE:Factory/.python3-pytest-runner.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-pytest-runner"
Changes:
--------
---
/work/SRC/openSUSE:Factory/python3-pytest-runner/python3-pytest-runner.changes
2015-10-20 00:04:07.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python3-pytest-runner.new/python3-pytest-runner.changes
2016-02-16 09:19:18.000000000 +0100
@@ -1,0 +2,10 @@
+Sun Feb 14 02:11:11 UTC 2016 - [email protected]
+
+- specfile:
+ * update copyright year
+ * .txt -> .rst in %doc section
+
+- update to version 2.7:
+ * Moved hosting to Github.
+
+-------------------------------------------------------------------
Old:
----
pytest-runner-2.6.2.tar.gz
New:
----
pytest-runner-2.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-pytest-runner.spec ++++++
--- /var/tmp/diff_new_pack.skbrFH/_old 2016-02-16 09:19:18.000000000 +0100
+++ /var/tmp/diff_new_pack.skbrFH/_new 2016-02-16 09:19:18.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python3-pytest-runner
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python3-pytest-runner
-Version: 2.6.2
+Version: 2.7
Release: 0
Summary: Simple powerful testing with Python
License: MIT
@@ -46,7 +46,7 @@
%files
%defattr(-,root,root,-)
-%doc README.txt CHANGES.txt docs/*
+%doc README.rst CHANGES.rst docs/*
%{python3_sitelib}/*
%changelog
++++++ pytest-runner-2.6.2.tar.gz -> pytest-runner-2.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.2/.hgtags
new/pytest-runner-2.7/.hgtags
--- old/pytest-runner-2.6.2/.hgtags 2015-08-19 21:21:31.000000000 +0200
+++ new/pytest-runner-2.7/.hgtags 2016-02-13 18:57:15.000000000 +0100
@@ -19,3 +19,5 @@
0304f39b40f791b81da8a14aed6e8910f798af14 2.6
cce8431d8b4d9441740a723c7c700d810a4662f8 2.6.1
0cc61470c2a2fd5b0ed2c4c4ac7480bf68526f6e 2.6.2
+daf0974a5e9348b8c8e20e9ee227702edc5b6e75 2.6.3
+a1fa887922d237f915ba51f9022f4da983ceb32e 2.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.2/.travis.yml
new/pytest-runner-2.7/.travis.yml
--- old/pytest-runner-2.6.2/.travis.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-runner-2.7/.travis.yml 2016-02-13 18:49:06.000000000 +0100
@@ -0,0 +1,8 @@
+sudo: false
+language: python
+python:
+ - 2.7
+ - 3.5
+script:
+ - pip install -U pytest
+ - python setup.py test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.2/CHANGES.rst
new/pytest-runner-2.7/CHANGES.rst
--- old/pytest-runner-2.6.2/CHANGES.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-runner-2.7/CHANGES.rst 2016-02-13 18:56:49.000000000 +0100
@@ -0,0 +1,65 @@
+2.7
+~~~
+
+* Moved hosting to Github.
+
+2.6
+~~~
+
+* Add support for un-named, environment-specific extras.
+
+2.5.1
+~~~~~
+
+* Restore Python 2.6 compatibility.
+
+2.5
+~~~
+
+* Moved hosting to `pytest-dev
+ <https://bitbucket.org/pytest-dev/pytest-runner>`_.
+
+2.4
+~~~
+
+* Added `documentation <https://pythonhosted.org/pytest-runner>`_.
+* Use setuptools_scm for version management and file discovery.
+* Updated internal packaging technique. README is now included
+ in the package metadata.
+
+2.3
+~~~
+
+* Use hgdistver for version management and file discovery.
+
+2.2
+~~~
+
+* Honor ``.eggs`` directory for transient downloads as introduced in Setuptools
+ 7.0.
+
+2.1
+~~~
+
+* The preferred invocation is now the 'pytest' command.
+
+2.0
+~~~
+
+* Removed support for the alternate usage. The recommended usage (as a
+ distutils command) is now the only supported usage.
+* Removed support for the --junitxml parameter to the ptr command. Clients
+ should pass the same parameter (and all other py.test arguments) to py.test
+ via the --addopts parameter.
+
+1.1
+~~~
+
+* Added support for --addopts to pass any arguments through to py.test.
+* Deprecated support for --junitxml. Use --addopts instead. --junitxml will be
+ removed in 2.0.
+
+1.0
+~~~
+
+Initial implementation.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.2/CHANGES.txt
new/pytest-runner-2.7/CHANGES.txt
--- old/pytest-runner-2.6.2/CHANGES.txt 2015-07-29 02:43:48.000000000 +0200
+++ new/pytest-runner-2.7/CHANGES.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,60 +0,0 @@
-2.6
-~~~
-
-* Add support for un-named, environment-specific extras.
-
-2.5.1
-~~~~~
-
-* Restore Python 2.6 compatibility.
-
-2.5
-~~~
-
-* Moved hosting to `pytest-dev
- <https://bitbucket.org/pytest-dev/pytest-runner>`_.
-
-2.4
-~~~
-
-* Added `documentation <https://pythonhosted.org/pytest-runner>`_.
-* Use setuptools_scm for version management and file discovery.
-* Updated internal packaging technique. README is now included
- in the package metadata.
-
-2.3
-~~~
-
-* Use hgdistver for version management and file discovery.
-
-2.2
-~~~
-
-* Honor ``.eggs`` directory for transient downloads as introduced in Setuptools
- 7.0.
-
-2.1
-~~~
-
-* The preferred invocation is now the 'pytest' command.
-
-2.0
-~~~
-
-* Removed support for the alternate usage. The recommended usage (as a
- distutils command) is now the only supported usage.
-* Removed support for the --junitxml parameter to the ptr command. Clients
- should pass the same parameter (and all other py.test arguments) to py.test
- via the --addopts parameter.
-
-1.1
-~~~
-
-* Added support for --addopts to pass any arguments through to py.test.
-* Deprecated support for --junitxml. Use --addopts instead. --junitxml will be
- removed in 2.0.
-
-1.0
-~~~
-
-Initial implementation.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.2/PKG-INFO
new/pytest-runner-2.7/PKG-INFO
--- old/pytest-runner-2.6.2/PKG-INFO 2015-08-19 21:21:51.000000000 +0200
+++ new/pytest-runner-2.7/PKG-INFO 2016-02-13 18:57:24.000000000 +0100
@@ -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: [email protected]
-License: MIT
+License: UNKNOWN
Description: pytest-runner
=============
@@ -26,7 +26,7 @@
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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.2/README.rst
new/pytest-runner-2.7/README.rst
--- old/pytest-runner-2.6.2/README.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-runner-2.7/README.rst 2016-02-13 18:49:26.000000000 +0100
@@ -0,0 +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/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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.2/README.txt
new/pytest-runner-2.7/README.txt
--- old/pytest-runner-2.6.2/README.txt 2015-07-29 01:56:02.000000000 +0200
+++ new/pytest-runner-2.7/README.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,95 +0,0 @@
-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,
- )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.2/docs/conf.py
new/pytest-runner-2.7/docs/conf.py
--- old/pytest-runner-2.6.2/docs/conf.py 2015-07-29 02:46:27.000000000
+0200
+++ new/pytest-runner-2.7/docs/conf.py 2016-02-13 18:50:03.000000000 +0100
@@ -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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.2/docs/history.rst
new/pytest-runner-2.7/docs/history.rst
--- old/pytest-runner-2.6.2/docs/history.rst 2015-07-29 01:56:02.000000000
+0200
+++ new/pytest-runner-2.7/docs/history.rst 2016-02-13 18:50:11.000000000
+0100
@@ -1,8 +1,8 @@
-:tocdepth: 2
-
-.. _changes:
-
-History
-*******
-
-.. include:: ../CHANGES.txt
+:tocdepth: 2
+
+.. _changes:
+
+History
+*******
+
+.. include:: ../CHANGES.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.2/docs/index.rst
new/pytest-runner-2.7/docs/index.rst
--- old/pytest-runner-2.6.2/docs/index.rst 2015-07-29 01:56:02.000000000
+0200
+++ new/pytest-runner-2.7/docs/index.rst 2016-02-13 18:50:32.000000000
+0100
@@ -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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.2/pytest.ini
new/pytest-runner-2.7/pytest.ini
--- old/pytest-runner-2.6.2/pytest.ini 2015-07-29 01:56:02.000000000 +0200
+++ new/pytest-runner-2.7/pytest.ini 2016-02-13 18:50:40.000000000 +0100
@@ -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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.2/pytest_runner.egg-info/PKG-INFO
new/pytest-runner-2.7/pytest_runner.egg-info/PKG-INFO
--- old/pytest-runner-2.6.2/pytest_runner.egg-info/PKG-INFO 2015-08-19
21:21:51.000000000 +0200
+++ new/pytest-runner-2.7/pytest_runner.egg-info/PKG-INFO 2016-02-13
18:57:24.000000000 +0100
@@ -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: [email protected]
-License: MIT
+License: UNKNOWN
Description: pytest-runner
=============
@@ -26,7 +26,7 @@
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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-runner-2.6.2/pytest_runner.egg-info/SOURCES.txt
new/pytest-runner-2.7/pytest_runner.egg-info/SOURCES.txt
--- old/pytest-runner-2.6.2/pytest_runner.egg-info/SOURCES.txt 2015-08-19
21:21:51.000000000 +0200
+++ new/pytest-runner-2.7/pytest_runner.egg-info/SOURCES.txt 2016-02-13
18:57:24.000000000 +0100
@@ -1,7 +1,9 @@
+.gitignore
.hgignore
.hgtags
-CHANGES.txt
-README.txt
+.travis.yml
+CHANGES.rst
+README.rst
ptr.py
pytest.ini
setup.cfg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.2/setup.cfg
new/pytest-runner-2.7/setup.cfg
--- old/pytest-runner-2.6.2/setup.cfg 2015-08-19 21:21:51.000000000 +0200
+++ new/pytest-runner-2.7/setup.cfg 2016-02-13 18:57:24.000000000 +0100
@@ -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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.2/setup.py
new/pytest-runner-2.7/setup.py
--- old/pytest-runner-2.6.2/setup.py 2015-07-29 01:56:02.000000000 +0200
+++ new/pytest-runner-2.7/setup.py 2016-02-13 18:56:03.000000000 +0100
@@ -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="[email protected]",
- 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="[email protected]",
+ 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)