-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
36 lines (32 loc) · 1.11 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def scripts( ):
return [os.path.join( 'bin', f ) for f in os.listdir( 'bin' )]
# The next three lines are modified from Biopython
__version__ = "Undefined"
for line in open('mutations/__init__.py'):
if (line.startswith('__version__')):
exec(line.strip())
break
setup(
name = "mutation_counts",
version = __version__,
author = "Tyghe Vallard",
author_email = "[email protected]",
description = ("Count mutations between a reference and batch of sequences"),
keywords = "biopython mutations count t_coffee",
url = "https://github.com/VDBWRAIR/MutationCount",
packages = ['mutations'],
scripts = scripts(),
install_requires = [
"numpy >=1.6",
"biopython >=1.59"
],
long_description=read('README'),
)