-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
45 lines (40 loc) · 1.43 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
37
38
39
40
41
42
43
44
45
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Written by Lucas Sinclair.
MIT Licensed.
Contact at www.sinclair.bio
"""
# Imports #
from setuptools import setup, find_namespace_packages
from os import path
from platform import system
# Load the contents of the README file #
this_dir = path.abspath(path.dirname(__file__))
readme_path = path.join(this_dir, 'README.md')
with open(readme_path, encoding='utf-8') as handle: readme = handle.read()
install_requires = ['autopaths>=1.5.0', 'plumbing>=2.10.4', 'biopython', 'tqdm']
if system() == 'Windows':
install_requires.append('pbs3')
else:
install_requires.append('sh')
# Call setup #
setup(
name = 'fasta',
version = '2.3.2',
description = 'The fasta python package enables you to deal with '
'biological sequence files easily.',
license = 'MIT',
url = 'http://github.com/xapple/fasta/',
author = 'Lucas Sinclair',
author_email = '[email protected]',
classifiers = ['Topic :: Scientific/Engineering :: Bio-Informatics'],
packages = find_namespace_packages(),
install_requires = install_requires,
extras_require = {'graphs': ['numpy', 'matplotlib'],
'primers': ['regex']},
python_requires = ">=3.8",
long_description = readme,
long_description_content_type = 'text/markdown',
include_package_data = True,
)