-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from jhlegarreta/ModernizePackageSetup
ENH: Modernize package setup
- Loading branch information
Showing
9 changed files
with
196 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools >= 66", | ||
"wheel", | ||
"setuptools_scm >= 6.4", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
authors = [ | ||
{name = "Jon Haitz Legarreta"}, {email = "[email protected]"} | ||
] | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Science/Research", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Scientific/Engineering :: Medical Science Apps.", | ||
] | ||
dependencies = [ | ||
# common dependencies | ||
"comet-ml == 3.0.0", | ||
"h5py == 2.10.0", | ||
"matplotlib >= 2.2.0", | ||
"joblib == 1.1.0", | ||
"numpy >= 1.20.0", | ||
"pandas", | ||
"pathos", | ||
"pydot", | ||
"pygame", | ||
"pyyaml", | ||
"seaborn == 0.11.0", | ||
"scikit-learn == 0.22.0", | ||
"scipy == 1.4.0", | ||
"torch == 1.8.1", | ||
"torchsummary == 1.5.1", | ||
"tqdm", | ||
"umap-learn", | ||
# DWI dependencies | ||
"dipy == 1.3.0", | ||
"fury == 0.7.1", | ||
"nibabel == 3.0.0", | ||
# Git dependencies | ||
"scilpy @ git+https://github.com/scilus/[email protected]", | ||
] | ||
description = "Tractography learning" | ||
dynamic = ["version"] | ||
keywords = ["DL, dMRI, neuroimaging, tractography"] | ||
maintainers = [ | ||
{name = "Jon Haitz Legarreta"}, {email = "[email protected]"} | ||
] | ||
name = "tractolearn" | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"hypothesis >= 6.8.0", | ||
"pytest == 5.3", | ||
"pytest-cov", | ||
"pytest-pep8", | ||
"pytest-xdist", | ||
] | ||
dev = [ | ||
"black == 22.12", | ||
"flake8 == 3.9.2", | ||
"flake8-docstrings == 1.6.0", | ||
"isort == 5.8.0", | ||
"pre-commit >= 2.9.0", | ||
] | ||
|
||
[project.scripts] | ||
ae_bundle_streamlines = "scripts:ae_bundle_streamlines.main" | ||
ae_find_thresholds = "scripts:ae_find_thresholds.main" | ||
ae_generate_streamlines = "scripts:ae_generate_streamlines.main" | ||
ae_train = "scripts:ae_train.main" | ||
|
||
[options.extras_require] | ||
all = [ | ||
"%(test)s", | ||
] | ||
|
||
[project.urls] | ||
homepage = "https://github.com/scil-vital/tractolearn" | ||
documentation = "https://tractolearn.readthedocs.io/en/latest/" | ||
repository = "https://github.com/scil-vital/tractolearn" | ||
|
||
[tool.black] | ||
line-length = 79 | ||
target-version = ["py38"] | ||
exclude =''' | ||
( | ||
/( | ||
\.eggs # exclude a few common directories in the | ||
| \.git # root of the project | ||
| \.hg | ||
| \.mypy_cache | ||
| \.tox | ||
| \.venv | ||
| _build | ||
| buck-out | ||
| build | ||
| dist | ||
)/ | ||
| data # also separately exclude project-specific files | ||
# and folders in the root of the project | ||
) | ||
''' | ||
|
||
[tool.isort] | ||
profile = "black" | ||
line_length = 79 | ||
src_paths = ["tractolearn"] | ||
|
||
[tool.setuptools.packages] | ||
find = {} # Scanning implicit namespaces is active by default | ||
|
||
[tool.setuptools_scm] | ||
write_to = "tractolearn/_version.py" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.