forked from fish-quant/big-fish
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
66 lines (57 loc) · 2.07 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# -*- coding: utf-8 -*-
# Author: Arthur Imbert <[email protected]>
# License: BSD 3 clause
"""
Setup script.
"""
from setuptools import setup, find_packages
# package description
DESCRIPTION = "Toolbox for the analysis of smFISH images."
# package version
VERSION = None
with open('bigfish/__init__.py', encoding='utf-8') as f:
for row in f:
if row.startswith('__version__'):
VERSION = row.strip().split()[-1][1:-1]
break
# package dependencies
with open("requirements.txt", encoding='utf-8') as f:
REQUIREMENTS = [l.strip() for l in f.readlines() if l]
DEEPLEARNING_REQUIREMENTS = [
'tensorflow == 2.3.0',
'tensorflow-addons == 0.12.1']
# long description of the package
with open("README.md", "r") as f:
LONG_DESCRIPTION = f.read()
# A list of classifiers to categorize the project (only used for searching and
# browsing projects on PyPI)
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Image Processing',
'Topic :: Scientific/Engineering :: Image Recognition',
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: BSD License']
# setup
setup(name='big-fish',
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author='Arthur Imbert',
author_email='[email protected]',
url='https://github.com/fish-quant/big-fish',
packages=find_packages(),
license='BSD 3-Clause License',
python_requires='>=3.6',
install_requires=REQUIREMENTS,
extras_require={'deeplearning': DEEPLEARNING_REQUIREMENTS},
classifiers=CLASSIFIERS)