Skip to content

Commit

Permalink
Merge pull request #644 from CGATOxford/{IS}_version-requirements
Browse files Browse the repository at this point in the history
Update setup.py
  • Loading branch information
IanSudbery authored Jun 10, 2024
2 parents 9ce3a70 + c64df9a commit 3bd6a38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

major, minor1, minor2, s, tmp = sys.version_info

if (major == 2 and minor1 < 7) or major < 2:
raise SystemExit("""umi_tools requires Python 2.7 or later.""")
if major < 3:
raise SystemExit("""umi_tools requires Python 3 or later.""")

umi_tools_packages = ["umi_tools"]
umi_tools_package_dirs = {'umi_tools': 'umi_tools'}
Expand Down Expand Up @@ -56,7 +56,7 @@

try:
import pysam
if LooseVersion(pysam.__version__) < LooseVersion('0.8.4'):
if LooseVersion(pysam.__version__) < LooseVersion('0.16.0.1'):
print("""
######################################################################
Expand All @@ -70,7 +70,7 @@
""")

install_requires.append("pysam>=0.8.4")
install_requires.append("pysam>=0.16.0.1")

except ImportError:
install_requires.append("pysam")
Expand Down

0 comments on commit 3bd6a38

Please sign in to comment.