Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 51 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,50 @@
[metadata]
name = monai-generative
author = MONAI Consortium
author_email = monai.contact@gmail.com
url = https://monai.io/
description = MONAI Generative Models makes it easy to train, evaluate, and deploy generative models and related applications
long_description = file:README.md
long_description_content_type = text/markdown; charset=UTF-8
platforms = OS Independent
license = Apache License 2.0
license_files =
LICENSE
project_urls =
Documentation=https://docs.monai.io/
Bug Tracker=https://github.com/Project-MONAI/GenerativeModels/issues
Source Code=https://github.com/Project-MONAI/GenerativeModels
classifiers =
Intended Audience :: Developers
Intended Audience :: Education
Intended Audience :: Science/Research
Intended Audience :: Healthcare Industry
Programming Language :: C++
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Artificial Intelligence
Topic :: Scientific/Engineering :: Medical Science Apps.
Topic :: Scientific/Engineering :: Information Analysis
Topic :: Software Development
Topic :: Software Development :: Libraries
Typing :: Typed

[options]
python_requires = >= 3.8
# for compiling and develop setup only
# no need to specify the versions so that we could
# compile for multiple targeted versions.
setup_requires =
torch
ninja
install_requires =
monai>=1.2.0rc1
torch>=1.9
numpy>=1.20

[flake8]
select = B,C,E,F,N,P,T4,W,B9
max_line_length = 120
Expand All @@ -7,6 +54,7 @@ max_line_length = 120
# B023 https://github.com/Project-MONAI/MONAI/issues/4627
# B028 https://github.com/Project-MONAI/MONAI/issues/5855
# B907 https://github.com/Project-MONAI/MONAI/issues/5868
# B908 https://github.com/Project-MONAI/MONAI/issues/6503
ignore =
E203
E501
Expand All @@ -19,6 +67,7 @@ ignore =
B905
B028
B907
B908
per_file_ignores = __init__.py: F401, __main__.py: F401
exclude = *.pyi,.git,.eggs,generative/_version.py,versioneer.py,venv,.venv,_version.py,tutorials/

Expand All @@ -39,8 +88,8 @@ ignore_missing_imports = True
no_implicit_optional = True
# Warns about casting an expression to its inferred type.
warn_redundant_casts = True
# Warns about unneeded # type: ignore comments.
# warn_unused_ignores = True
# No error on unneeded # type: ignore comments.
warn_unused_ignores = False
# Shows a warning when returning a value with type Any from a function declared with a non-Any return type.
warn_return_any = True
# Prohibit equality checks, identity checks, and container checks between non-overlapping types.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from setuptools import find_packages, setup

setup(
name="generative",
name="monai-generative",
packages=find_packages(exclude=[]),
version="0.2.2",
description="Installer to help to use the prototypes from MONAI generative models in other projects.",
Expand Down