forked from fish-quant/big-fish-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (51 loc) · 1.75 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
# -*- coding: utf-8 -*-
# Author: Arthur Imbert <[email protected]>
# License: BSD 3 clause
"""
Setup script.
"""
from setuptools import setup, find_packages
# package description
DESCRIPTION = "Examples for Big-FISH package."
# package version
VERSION = None
with open('__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]
# 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 :: 2 - Beta',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Intended Audience :: Biologist',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Topic :: Cellular Imagery',
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: BSD-3-Clause License']
# setup
setup(name='big-fish-examples',
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-examples',
packages=find_packages(),
license='BSD 3-Clause License',
python_requires='>=3.6',
install_requires=REQUIREMENTS,
classifiers=CLASSIFIERS)