From 270d2ad74399426b57b9b75dd9bff91d66c42943 Mon Sep 17 00:00:00 2001 From: ChocoParrot Date: Mon, 13 Sep 2021 11:04:11 +0800 Subject: [PATCH] [refactor] v1.3 --- README.md | 7 ++++--- setup.py | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5deb028..5c741ee 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,11 @@ banner


+

+ Downloads +

-[![Downloads](https://pepy.tech/badge/orffinder)](https://pepy.tech/project/orffinder) - # ORFFinder ORFFinder in Python. Inspired by NCBI's version: https://www.ncbi.nlm.nih.gov/orffinder/ @@ -25,7 +26,7 @@ Import the package ```py from Bio import SeqIO -import orffinder +from orffinder import orffinder sequence = SeqIO.read("gene.fasta", "fasta") orffinder.getORFs(sequence, minimum_length=75, remove_nested=True) diff --git a/setup.py b/setup.py index 1222a13..1b77c12 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ), - package_dir={"": "src/orffinder"}, - packages=setuptools.find_packages(where="src/orffinder"), + package_dir={"": "src"}, + packages=setuptools.find_packages(where="src"), python_requires=">=3.6" )