We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f914358 commit 55f66f8Copy full SHA for 55f66f8
allure-pytest/setup.py
@@ -1,5 +1,17 @@
1
-import os
+import os,sys
2
from setuptools import setup
3
+from pkg_resources import require, DistributionNotFound, VersionConflict
4
+
5
+try:
6
+ require('pytest-allure-adaptor')
7
+ print("""
8
+ You have pytest-allure-adaptor installed.
9
+ You need to remove pytest-allure-adaptor from your site-packages
10
+ before installing allure-pytest, or conflicts may result.
11
+ """)
12
+ sys.exit()
13
+except (DistributionNotFound, VersionConflict):
14
+ pass
15
16
PACKAGE = "allure-pytest"
17
VERSION = "2.0.0b2"
0 commit comments