|
a |
|
b/setup.cfg |
|
|
1 |
# http://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files |
|
|
2 |
[metadata] |
|
|
3 |
name = sybil |
|
|
4 |
description = Sybil |
|
|
5 |
author = Peter G. Mikhael |
|
|
6 |
author_email = |
|
|
7 |
license_file = LICENSE.txt |
|
|
8 |
long_description = file: README.md |
|
|
9 |
long_description_content_type = text/markdown; charset=UTF-8; variant=GFM |
|
|
10 |
version = 1.4.0 |
|
|
11 |
# url = |
|
|
12 |
project_urls = |
|
|
13 |
Documentation = https://github.com/reginabarzilaygroup/sybil/wiki |
|
|
14 |
Source = https://github.com/reginabarzilaygroup/sybil |
|
|
15 |
Tracker = https://github.com/reginabarzilaygroup/sybil/issues |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
# Change if running only on Windows, Mac or Linux (comma-separated) |
|
|
19 |
platforms = any |
|
|
20 |
|
|
|
21 |
# Add here all kinds of additional classifiers as defined under |
|
|
22 |
# https://pypi.python.org/pypi?%3Aaction=list_classifiers |
|
|
23 |
classifiers = |
|
|
24 |
Programming Language :: Python |
|
|
25 |
|
|
|
26 |
[easy_install] |
|
|
27 |
find_links = |
|
|
28 |
https://download.pytorch.org/whl/cu117/torch_stable.html |
|
|
29 |
|
|
|
30 |
[options] |
|
|
31 |
zip_safe = False |
|
|
32 |
packages = find: |
|
|
33 |
include_package_data = True |
|
|
34 |
python_requires = >=3.8,<3.11 |
|
|
35 |
# Add here dependencies of your project (line-separated), e.g. requests>=2.2,<3.0. |
|
|
36 |
# Version specifiers like >=2.2,<3.0 avoid problems due to API changes in |
|
|
37 |
# new major versions. This works if the required packages follow Semantic Versioning. |
|
|
38 |
# For more information, check out https://semver.org/. |
|
|
39 |
install_requires = |
|
|
40 |
importlib-metadata; python_version>="3.8" |
|
|
41 |
imageio==2.34.1 |
|
|
42 |
numpy==1.24.1 |
|
|
43 |
opencv-python==4.5.4.60 |
|
|
44 |
opencv-python-headless==4.5.4.60 |
|
|
45 |
pillow>=10.2.0 |
|
|
46 |
pydicom==2.3.0 |
|
|
47 |
pylibjpeg[all]==2.0.0 |
|
|
48 |
torch==1.13.1+cu117; platform_machine == "x86_64" |
|
|
49 |
torch==1.13.1; platform_machine != "x86_64" |
|
|
50 |
torchio==0.18.74 |
|
|
51 |
torchvision==0.14.1+cu117; platform_machine == "x86_64" |
|
|
52 |
torchvision==0.14.1; platform_machine != "x86_64" |
|
|
53 |
tqdm==4.62.3 |
|
|
54 |
|
|
|
55 |
[options.packages.find] |
|
|
56 |
exclude = |
|
|
57 |
tests |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
[options.extras_require] |
|
|
61 |
# Add here test requirements (semicolon/line-separated) |
|
|
62 |
testing = |
|
|
63 |
setuptools |
|
|
64 |
pytest |
|
|
65 |
pytest-cov |
|
|
66 |
flake8 |
|
|
67 |
mypy |
|
|
68 |
black |
|
|
69 |
train = |
|
|
70 |
albumentations==1.1.0 |
|
|
71 |
lifelines==0.26.4 |
|
|
72 |
pytorch_lightning==1.6.0 |
|
|
73 |
scikit-learn==1.0.2 |
|
|
74 |
|
|
|
75 |
[options.entry_points] |
|
|
76 |
console_scripts = |
|
|
77 |
sybil-predict = sybil.predict:main |
|
|
78 |
|
|
|
79 |
|
|
|
80 |
[bdist_wheel] |
|
|
81 |
# Use this option if your package is pure-python |
|
|
82 |
universal = 1 |
|
|
83 |
|
|
|
84 |
|
|
|
85 |
[devpi:upload] |
|
|
86 |
# Options for the devpi: PyPI server and packaging tool |
|
|
87 |
# VCS export must be deactivated since we are using setuptools-scm |
|
|
88 |
no_vcs = 1 |
|
|
89 |
formats = bdist_wheel |
|
|
90 |
|
|
|
91 |
|
|
|
92 |
[tool:pytest] |
|
|
93 |
norecursedirs = |
|
|
94 |
.git |
|
|
95 |
dist |
|
|
96 |
build |
|
|
97 |
.tox |
|
|
98 |
addopts = |
|
|
99 |
--verbose |
|
|
100 |
testpaths = tests |
|
|
101 |
# Use pytest markers to select/deselect specific tests |
|
|
102 |
# markers = |
|
|
103 |
# slow: mark tests as slow (deselect with '-m "not slow"') |
|
|
104 |
# system: mark end-to-end system tests |
|
|
105 |
|
|
|
106 |
[flake8] |
|
|
107 |
max-line-length = 88 |
|
|
108 |
extend_ignore = E203, W503 |
|
|
109 |
# ^ Black-compatible |
|
|
110 |
# E203 and W503 have edge cases handled by black |
|
|
111 |
exclude = |
|
|
112 |
.tox |
|
|
113 |
*.egg |
|
|
114 |
build |
|
|
115 |
temp |
|
|
116 |
docs/* |
|
|
117 |
tests/* |
|
|
118 |
dist |
|
|
119 |
|
|
|
120 |
[mypy] |
|
|
121 |
ignore_missing_imports = True |
|
|
122 |
allow_redefinition = True |
|
|
123 |
; follow_imports = skip |
|
|
124 |
; warn_unused_configs = True |