| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,17 @@ | |||
| 1 | - import os | ||
| 1 | + import os,sys | ||
| 2 | 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 | ||
| 3 | 15 | ||
| 4 | 16 | PACKAGE = "allure-pytest" | |
| 5 | 17 | VERSION = "2.0.0b2" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments