Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Commit 85796f8

Browse files
authored
Merge pull request #401 from Project-MONAI/393-update-setuppy-and-pyprojecttoml
Update setuppy and pyprojecttoml
2 parents 33e3f6a + 8731c61 commit 85796f8

2 files changed

Lines changed: 52 additions & 3 deletions

File tree

setup.cfg

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
[metadata]
2+
name = monai-generative
3+
author = MONAI Consortium
4+
author_email = monai.contact@gmail.com
5+
url = https://monai.io/
6+
description = MONAI Generative Models makes it easy to train, evaluate, and deploy generative models and related applications
7+
long_description = file:README.md
8+
long_description_content_type = text/markdown; charset=UTF-8
9+
platforms = OS Independent
10+
license = Apache License 2.0
11+
license_files =
12+
LICENSE
13+
project_urls =
14+
Documentation=https://docs.monai.io/
15+
Bug Tracker=https://github.com/Project-MONAI/GenerativeModels/issues
16+
Source Code=https://github.com/Project-MONAI/GenerativeModels
17+
classifiers =
18+
Intended Audience :: Developers
19+
Intended Audience :: Education
20+
Intended Audience :: Science/Research
21+
Intended Audience :: Healthcare Industry
22+
Programming Language :: C++
23+
Programming Language :: Python :: 3
24+
Programming Language :: Python :: 3.8
25+
Programming Language :: Python :: 3.9
26+
Programming Language :: Python :: 3.10
27+
Topic :: Scientific/Engineering
28+
Topic :: Scientific/Engineering :: Artificial Intelligence
29+
Topic :: Scientific/Engineering :: Medical Science Apps.
30+
Topic :: Scientific/Engineering :: Information Analysis
31+
Topic :: Software Development
32+
Topic :: Software Development :: Libraries
33+
Typing :: Typed
34+
35+
[options]
36+
python_requires = >= 3.8
37+
# for compiling and develop setup only
38+
# no need to specify the versions so that we could
39+
# compile for multiple targeted versions.
40+
setup_requires =
41+
torch
42+
ninja
43+
install_requires =
44+
monai>=1.2.0rc1
45+
torch>=1.9
46+
numpy>=1.20
47+
148
[flake8]
249
select = B,C,E,F,N,P,T4,W,B9
350
max_line_length = 120
@@ -7,6 +54,7 @@ max_line_length = 120
754
# B023 https://github.com/Project-MONAI/MONAI/issues/4627
855
# B028 https://github.com/Project-MONAI/MONAI/issues/5855
956
# B907 https://github.com/Project-MONAI/MONAI/issues/5868
57+
# B908 https://github.com/Project-MONAI/MONAI/issues/6503
1058
ignore =
1159
E203
1260
E501
@@ -19,6 +67,7 @@ ignore =
1967
B905
2068
B028
2169
B907
70+
B908
2271
per_file_ignores = __init__.py: F401, __main__.py: F401
2372
exclude = *.pyi,.git,.eggs,generative/_version.py,versioneer.py,venv,.venv,_version.py,tutorials/
2473

@@ -39,8 +88,8 @@ ignore_missing_imports = True
3988
no_implicit_optional = True
4089
# Warns about casting an expression to its inferred type.
4190
warn_redundant_casts = True
42-
# Warns about unneeded # type: ignore comments.
43-
# warn_unused_ignores = True
91+
# No error on unneeded # type: ignore comments.
92+
warn_unused_ignores = False
4493
# Shows a warning when returning a value with type Any from a function declared with a non-Any return type.
4594
warn_return_any = True
4695
# Prohibit equality checks, identity checks, and container checks between non-overlapping types.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from setuptools import find_packages, setup
1515

1616
setup(
17-
name="generative",
17+
name="monai-generative",
1818
packages=find_packages(exclude=[]),
1919
version="0.2.2",
2020
description="Installer to help to use the prototypes from MONAI generative models in other projects.",

0 commit comments

Comments
 (0)