|
1 | 1 | #! /usr/bin/python
|
| 2 | +"""pytest-dependency - Manage dependencies of tests |
| 3 | +
|
| 4 | +This pytest plugin manages dependencies of tests. It allows to mark |
| 5 | +some tests as dependent from other tests. These tests will then be |
| 6 | +skipped if any of the dependencies did fail or has been skipped. |
| 7 | +""" |
2 | 8 |
|
3 | 9 | import sys
|
4 | 10 | if sys.version_info < (2, 7):
|
5 | 11 | raise RuntimeError("You are using Python %s.\n"
|
6 | 12 | "Please apply python2_6.patch first."
|
7 | 13 | % sys.version.split()[0])
|
8 | 14 | from setuptools import setup
|
9 |
| -import pytest_dependency |
10 | 15 |
|
11 | 16 |
|
12 | 17 | setup(
|
13 | 18 | name='pytest-dependency',
|
14 |
| - version=pytest_dependency.__version__, |
| 19 | + version='0.2', |
15 | 20 | description='Manage dependencies of tests',
|
16 | 21 | author='Rolf Krahl',
|
17 | 22 |
|
18 | 23 | maintainer='Rolf Krahl',
|
19 | 24 | maintainer_email='[email protected]',
|
20 | 25 | url='https://github.com/RKrahl/pytest-dependency',
|
21 | 26 | license='Apache Software License 2.0',
|
22 |
| - long_description=pytest_dependency.__doc__, |
| 27 | + long_description=__doc__, |
23 | 28 | py_modules=['pytest_dependency'],
|
24 | 29 | install_requires=['pytest >= 2.8.0'],
|
25 | 30 | classifiers=[
|
|
0 commit comments