Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyproject #165

Merged
merged 3 commits into from
Feb 18, 2022
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
2 changes: 1 addition & 1 deletion NiBAx/plugins/agetrends/agetrends.yapsy-plugin
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Core]
Name = Age Trends
Module = ageTrends
Module = agetrends

[Documentation]
Author = Ashish Singh
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ desired version, use one of the following commands to install it.

```shell
# Editable version for development after cloning https://github.com/CBICA/NiBAx.git
python -m pip install -U -e .
python -m pip install -U -e .
poetry install

# Version from pull request (#57 in this example) for testing proposed changes
python -m pip install -U git+https://github.com/CBICA/NiBAx.git@refs/pull/57/head
Expand Down
13 changes: 10 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = ["setuptools", "wheel", "poetry>=1.0.0"]
requires = ["setuptools", "wheel", "poetry-core @ git+https://github.com/python-poetry/poetry-core.git@master"]
#build-backend = "setuptools.build_meta"
build-backend = "poetry.masonry.api"
build-backend = "poetry.core.masonry.api"


[tool.poetry]
Expand All @@ -16,7 +16,14 @@ authors = [
keywords = ["neuro-imaging", "MRI", "big data"]

readme = "README.md"
include = ["NiBAx/plugins/data/MUSE_ROI_Dictionary.csv"]

include = ["NiBAx/plugins/data/MUSE_ROI_Dictionary.csv",
"NiBAx/**/*.ui",
"NiBAx/**/*.yapsy-plugin",
"*.png"]
packages = [
{include = "NiBAx"}
]

[tool.poetry.dependencies]
python = ">=3.8,<3.11"
Expand Down
48 changes: 0 additions & 48 deletions setup.cfg

This file was deleted.