From 8e8c3375806e3fcce3a19336ae221a8f9a569187 Mon Sep 17 00:00:00 2001 From: dmitrymyl Date: Fri, 2 Jul 2021 17:22:03 +0300 Subject: [PATCH] Updated reqs to python 3.7 and fixed ortho2align CLI parsing. --- ortho2align/cli_scripts.py | 3 ++- setup.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ortho2align/cli_scripts.py b/ortho2align/cli_scripts.py index 095943f..451e054 100644 --- a/ortho2align/cli_scripts.py +++ b/ortho2align/cli_scripts.py @@ -9,7 +9,8 @@ formatter_class=argparse.ArgumentDefaultsHelpFormatter, fromfile_prefix_chars='@') ortho2align_subparsers = ortho2align_parser.add_subparsers(title='Subcommands', - metavar='SUBCOMMAND') + metavar='SUBCOMMAND', + required=True) bg_from_inter_ranges_parser = ortho2align_subparsers.add_parser('bg_from_inter_ranges', help='Generate background set of genomic ranges from intergenic ranges.', diff --git a/setup.py b/setup.py index 464c814..6bf3428 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ from setuptools import setup + setup(name='ortho2align', version='0.9', description='Sequence alignment tool based on syntenic protein neighbourhood.', @@ -13,7 +14,7 @@ 'scipy', 'sortedcontainers', 'tqdm'], - python_requires='~=3.6', + python_requires='>=3.7', entry_points={'console_scripts': ['ortho2align=ortho2align.cli_scripts:ortho2align']}, zip_safe=False)