from setuptools import setup
import sys
version = "0.1.0"

with open("./README.md") as fd:
    long_description = fd.read()

install_requires = [
        "blockfs",
        "glymur",
        "mp_shared_memory",
        "matplotlib",
        "numpy",
        "precomputed-tif",
        "scipy",
        "sklearn",
        "tifffile",
        "tqdm"
    ]

setup(
    name="spimstitch",
    version=version,
    description=
    "Chung Lab oblique SPIM stitcher",
    long_description=long_description,
    install_requires=install_requires,
    author="Kwanghun Chung Lab",
    packages=["spimstitch", "spimstitch.commands"],
    entry_points={ 'console_scripts': [
        "dcimg2tif=spimstitch.commands.dcimg2tif:main",
        "dcimg2jp2=spimstitch.commands.dcimg2jp2_cmd:main",
        "dcimg2oblique=spimstitch.commands.dcimg2oblique:main",
        "stack2oblique=spimstitch.commands.stack2oblique:main",
        "oblique2stitched=spimstitch.commands.stitch_cmd:main",
        "imaris2stitched=spimstitch.commands.stitch_imaris_cmd:main",
        "nonoblique2stitched=spimstitch.commands.stitch_nonoblique_cmd:main",
        "oblique-illum-corr=spimstitch.commands.illum_corr_cmd:main",
        "oblique-align=spimstitch.commands.align_cmd:main",
        "oblique-deconvolve=spimstitch.commands.deconvolve:main",
        "dandi-metadata=spimstitch.commands.dandi_metadata:main",
        "dandi2jp2=spimstitch.commands.dandi2jp2_cmd:main"
    ]},
    scripts=["scripts/spimstitch-pipeline.sh",
             "scripts/jp2k-spimstitch-pipeline.sh",
             "scripts/dragonfly-pipeline.sh",
             "scripts/nonoblique-pipeline.sh",
             "scripts/dandi-pipeline.sh"],
    url="https://github.com/chunglabmit/spimstitch",
    license="MIT",
    classifiers=[
        "Development Status :: 4 - Beta",
        'Programming Language :: Python :: 3.5',
    ]
)
