-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
67 lines (61 loc) · 1.84 KB
/
setup.py
File metadata and controls
67 lines (61 loc) · 1.84 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import io
from os.path import dirname, join
from setuptools import setup
import setuptools
# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
def get_version(relpath):
"""Read version info from a file without importing it"""
for line in io.open(join(dirname(__file__), relpath), encoding="cp437"):
if "__version__" in line:
if '"' in line:
return line.split('"')[1]
elif "'" in line:
return line.split("'")[1]
setup(
name='flight-genome',
version=get_version("flight/__init__.py"),
url='https://github.com/rhysnewell/flight',
license='BSD-3',
author='Rhys Newell',
author_email='rhys.newell94@gmail.com',
description='flight - metagenomic binner and variant clusterer.',
long_description=long_description,
long_description_content_type='text/markdown',
packages=setuptools.find_packages(),
package_data={'': [
"flight/*",
]},
data_files=[(".", ["README.md", "LICENSE"])],
include_package_data=True,
install_requires= [
"umap-learn >= 0.5.3",
"numpy <= 1.24",
"scikit-learn >= 1.0.2, <= 1.1",
"scipy <= 1.11",
"scikit-bio >= 0.5.7",
"numba>=0.53,<=0.57",
"pandas >= 1.3",
"pynndescent >= 0.5.7",
"hdbscan >= 0.8.28",
"joblib <= 1.3.0",
"pebble",
"threadpoolctl",
"imageio",
"matplotlib",
"seaborn",
"tqdm",
"tbb",
"pebble",
"biopython"
],
entry_points={
'console_scripts': [
'flight = flight.flight:main'
]
},
classifiers=["Topic :: Scientific/Engineering :: Bio-Informatics"],
)