-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
34 lines (30 loc) · 877 Bytes
/
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
"""
Setup script.
"""
import setuptools
# package version
VERSION = None
with open('segwrap/__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]
# setup
setuptools.setup(
name="segwrap",
version=VERSION,
author="Florian MUELLER",
author_email="muellerf.research@gmail.com",
description="wrapper package for cellpose",
url="https://github.com/fish-quant/fq-segmentation",
packages=setuptools.find_packages(),
install_requires=REQUIREMENTS,
include_package_data=True,
classifiers=(
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
),
)