You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
2.2 KiB

"""
Setup script for EMCAD.
"""
from setuptools import setup, find_packages
import os
# Read the README file
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# Read requirements
with open("requirements.txt", "r", encoding="utf-8") as fh:
requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")]
setup(
name="emcad",
version="1.0.0",
author="Md Mostafijur Rahman, Mustafa Munir, Radu Marculescu",
author_email="mostafij.rahman@utexas.edu",
description="Efficient Multi-scale Convolutional Attention Decoding for Medical Image Segmentation",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/SLDGroup/EMCAD",
project_urls={
"Bug Tracker": "https://github.com/SLDGroup/EMCAD/issues",
"Documentation": "https://github.com/SLDGroup/EMCAD/docs",
"Source Code": "https://github.com/SLDGroup/EMCAD",
},
packages=find_packages(where="src"),
package_dir={"": "src"},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
install_requires=requirements,
extras_require={
"dev": [
"pytest>=6.0",
"pytest-cov>=2.0",
"black>=21.0",
"isort>=5.0",
"flake8>=3.8",
"mypy>=0.800",
],
"docs": [
"sphinx>=4.0",
"sphinx-rtd-theme>=0.5",
"sphinx-autodoc-typehints>=1.12",
],
},
entry_points={
"console_scripts": [
"emcad-train=emcad.scripts.train:main",
"emcad-test=emcad.scripts.test:main",
],
},
include_package_data=True,
package_data={
"emcad": ["configs/*.yaml"],
},
)