From f56db51bbe38c327dd29f51b08c75126f8bf1a57 Mon Sep 17 00:00:00 2001 From: ChocoParrot Date: Mon, 13 Sep 2021 21:39:27 +0800 Subject: [PATCH] [refactor] changes --- setup.py | 8 ++++++-- src/cline_tools/{orffinder-to-gtf.py => orffinder-to-gtf} | 2 ++ .../{orffinder-to-sequence.py => orffinder-to-sequence} | 2 ++ 3 files changed, 10 insertions(+), 2 deletions(-) rename src/cline_tools/{orffinder-to-gtf.py => orffinder-to-gtf} (98%) rename src/cline_tools/{orffinder-to-sequence.py => orffinder-to-sequence} (99%) diff --git a/setup.py b/setup.py index 7212f43..71776ac 100644 --- a/setup.py +++ b/setup.py @@ -23,8 +23,12 @@ "Operating System :: OS Independent", ), install_requires=[ - "biopython=1.79" - ] + "biopython==1.79" + ], + scripts=[ + "src/cline_tools/orffinder-to-gtf", + "src/cline_tools/orffinder-to-sequence" + ], package_dir={"": "src"}, packages=setuptools.find_packages(where="src"), python_requires=">=3.6" diff --git a/src/cline_tools/orffinder-to-gtf.py b/src/cline_tools/orffinder-to-gtf similarity index 98% rename from src/cline_tools/orffinder-to-gtf.py rename to src/cline_tools/orffinder-to-gtf index 3d723f1..1188846 100644 --- a/src/cline_tools/orffinder-to-gtf.py +++ b/src/cline_tools/orffinder-to-gtf @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import sys import os from Bio import SeqIO diff --git a/src/cline_tools/orffinder-to-sequence.py b/src/cline_tools/orffinder-to-sequence similarity index 99% rename from src/cline_tools/orffinder-to-sequence.py rename to src/cline_tools/orffinder-to-sequence index aa74a45..20921da 100644 --- a/src/cline_tools/orffinder-to-sequence.py +++ b/src/cline_tools/orffinder-to-sequence @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import sys import os from Bio import SeqIO