diff --git a/README.md b/README.md index 3f13904..c90d3ba 100644 --- a/README.md +++ b/README.md @@ -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 +``` + 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. diff --git a/connPFM/connPFM.py b/connPFM/connPFM.py index e69de29..10900a7 100755 --- a/connPFM/connPFM.py +++ b/connPFM/connPFM.py @@ -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") + + +if __name__ == "__main__": + _main(sys.argv[1:]) diff --git a/connPFM/info.py b/connPFM/info.py index 48382c0..3381f93 100644 --- a/connPFM/info.py +++ b/connPFM/info.py @@ -51,10 +51,12 @@ REQUIRES = [ "duecredit", "joblib", + "matplotlib", "nibabel", "nilearn", "numpy>=1.15", "scipy>=1.3.3", + "sklearn" ] TESTS_REQUIRES = [ diff --git a/setup.cfg b/setup.cfg index 9fa9d84..06d7845 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,3 +20,7 @@ log_cli = true * = resources/* tests/data/* + +[options.entry_points] +console_scripts = + connPFM=connPFM.connPFM:_main