Skip to content

Commit

Permalink
Prepare for release 0.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
RKrahl committed Jan 29, 2017
1 parent c6d2055 commit f83ac97
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 21 deletions.
15 changes: 15 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
History of changes to pytest-dependency
=======================================

* Version 0.1.0 (2017-01-29)

+ Initial release as an independent Python module.

This code was first developed as part of a larger package,
python-icat, at Helmholtz-Zentrum Berlin für Materialien und
Energie, see https://icatproject.org/user-documentation/python-icat/


# Local Variables:
# mode: org
# End:
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include MANIFEST.in
include CHANGES
include LICENSE.txt
include MANIFEST.in
include README.rst
include doc/html/*.html
include doc/html/*.js
Expand Down
7 changes: 3 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,16 @@ step:

$ patch -p1 < python2_6.patch

It removes the use of certain language features (dict comprehensions,
curly braces notation of sets, bytes string literal prefix 'b') that
were introduced in Python 2.7.
It removes the use of certain language features (dict comprehensions)
that were introduced in Python 2.7.


Copyright and License
---------------------

- Copyright 2013-2015
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
- Copyright 2016 Rolf Krahl
- Copyright 2016-2017 Rolf Krahl

Licensed under the Apache License, Version 2.0 (the "License"); you
may not use this file except in compliance with the License. You may
Expand Down
47 changes: 42 additions & 5 deletions doc/src/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,56 @@ This pytest plugin manages dependencies of tests. It allows to mark
some tests as dependent from other tests. These tests will then be
skipped if any of the dependencies did fail or has been skipped.

Note that there is no real documentation yet, this just repeats the
content of the README file.


System requirements
-------------------

+ Python 2.6, 2.7, or 3.1 and newer.
+ `pytest`_ 2.8.0 or newer.
+ Python 2.6, 2.7, or 3.1 and newer.
Python 2.6 requires patching the sources, see below.
+ `setuptools`_.
+ `pytest`_ 2.8.0 or newer.


Installation
------------

1. Download the sources, unpack, and change into the source directory.

2. Build (optional)::

$ python setup.py build

3. Test (optional)::

$ python -m pytest

4. Install::

$ python setup.py install

The last step might require admin privileges in order to write into
the site-packages directory of your Python installation.

If you are using Python 2.6, apply python2_6.patch after the first
step:

1a. Patch::

$ patch -p1 < python2_6.patch

It removes the use of certain language features (dict comprehensions)
that were introduced in Python 2.7.


Copyright and License
---------------------

- Copyright 2013-2015
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
- Copyright 2016 Rolf Krahl
- Copyright 2013-2015
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
- Copyright 2016-2017 Rolf Krahl

Licensed under the Apache License, Version 2.0 (the "License"); you
may not use this file except in compliance with the License. You may
Expand All @@ -33,4 +69,5 @@ implied. See the License for the specific language governing
permissions and limitations under the License.


.. _setuptools: http://pypi.python.org/pypi/setuptools/
.. _pytest: http://pytest.org/
22 changes: 11 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@
'Framework :: Pytest',
'Intended Audience :: Developers',
'Topic :: Software Development :: Testing',
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Operating System :: OS Independent',
'License :: OSI Approved :: Apache Software License',
],
Expand Down

0 comments on commit f83ac97

Please sign in to comment.