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

Setup connPFM installation with pip #8

Merged
merged 7 commits into from
Oct 6, 2021
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
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ A template repo to use for new repositories.
[![Documentation Status](https://readthedocs.org/projects/connPFM/badge/?version=latest)](http://connPFM.readthedocs.io/en/latest/?badge=latest)
[![Codecov](https://codecov.io/gh/SPiN-Lab/connPFM/branch/main/graph/badge.svg)](https://codecov.io/gh/SPiN-Lab/connPFM)

## Installation
vinferrer marked this conversation as resolved.
Show resolved Hide resolved
```
git clone https://github.com/SPiN-Lab/connPFM.git
cd connPFM
pip3 install -e .[all]
```
## Instructions

1. Replace `connPFM` with the new repo name across the whole repository.
Expand Down
12 changes: 12 additions & 0 deletions connPFM/connPFM.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import logging
import sys

LGR = logging.getLogger(__name__)
LGR.setLevel(logging.INFO)

def _main(argv=None):
print("ConnPFM is in development, we will implement main workflow in future releases")
vinferrer marked this conversation as resolved.
Show resolved Hide resolved


if __name__ == "__main__":
_main(sys.argv[1:])
2 changes: 2 additions & 0 deletions connPFM/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@
REQUIRES = [
"duecredit",
"joblib",
"matplotlib",
"nibabel",
"nilearn",
"numpy>=1.15",
"scipy>=1.3.3",
"sklearn"
]

TESTS_REQUIRES = [
Expand Down
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ log_cli = true
* =
resources/*
tests/data/*

[options.entry_points]
console_scripts =
connPFM=connPFM.connPFM:_main