Skip to content

Commit

Permalink
tag v0.2.1 (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelstjean authored Jun 1, 2023
1 parent c925680 commit c0fef35
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 26 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Changelog

## [v0.2.1]
## [v0.2.1] - 2023-06-01

- Support for csv files input and output
- Documentation now available at https://dpr.readthedocs.io


## [v0.2] - 2020-07-16

- Fix bug due to interpolation in ```dpr.utils.draw_fancy_graph```
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include LICENSE
include README.md
include CHANGELOG.md
include example.ipynb
include datasets/*
9 changes: 5 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
# -- Project information -----------------------------------------------------

project = 'Diffusion Profile Realignment'
copyright = '2020, Samuel St-Jean'
copyright = '2023, Samuel St-Jean'
author = 'Samuel St-Jean'
language = 'en'

# The full version, including alpha/beta/rc tags
release = 'v0.2'
release = 'v0.2.1'

# If your documentation needs a minimal Sphinx version, state it here.
#
Expand All @@ -38,11 +39,11 @@
'sphinx.ext.mathjax',
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
'recommonmark']
'myst_parser']

autoapi_type = 'python'
autoapi_dirs = ['../dpr']
autoapi_ignore = ["dpr/tests/test_*.py"]
autoapi_ignore = ["*/tests/*.py"]


# Add any paths that contain templates here, relative to this directory.
Expand Down
4 changes: 3 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ This is the documentation detailing the internal of 'Reducing variability in alo
It is most easily understood by looking at the code of each function since it contains comments about design choices and usage.

You can find the original paper and full details of the algorithm as presented in
::

.. code-block:: bash
Samuel St-Jean, Maxime Chamberland, Max A. Viergever, Alexander Leemans,
Reducing variability in along-tract analysis with diffusion profile realignment,
NeuroImage, Volume 199, 2019, Pages 663-679
Expand Down
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
sphinx-autoapi
sphinx >= 3.0
sphinx >= 3.0
myst-parser
19 changes: 19 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "dpr"
version = '0.2.1'
requires-python = ">=3.7"
dependencies = ['numpy>=1.10',
'scipy>=0.19',
'matplotlib>=2.0']
description = 'Implementation of "Reducing variability in along-tract analysis with diffusion profile realignment".'
readme = "README.md"
license = {text = "MIT License"}
authors = [
{name = "Samuel St-Jean", email = "[email protected]"}
]

[project.urls]
Homepage = "https://github.com/samuelstjean/dpr"
Documentation = "https://dpr.readthedocs.io/en/latest/"
Changelog = "https://github.com/samuelstjean/dpr/blob/master/CHANGELOG.md"
21 changes: 4 additions & 17 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
from setuptools import setup, find_packages

with open('README.md', encoding='utf-8') as f:
long_description = f.read()
scripts=['scripts/dpr',
'scripts/dpr_make_fancy_graph']

setup(
name='dpr',
version='0.2',
author='Samuel St-Jean',
packages=find_packages(),
scripts=['scripts/dpr', 'scripts/dpr_make_fancy_graph'],
url='https://github.com/samuelstjean/dpr',
license='MIT',
description='Implementation of "Reducing variability in along-tract analysis with diffusion profile realignment".',
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=['numpy>=1.10',
'scipy>=0.19',
'matplotlib>=2.0'],
)
setup(scripts=scripts,
packages=find_packages())

0 comments on commit c0fef35

Please sign in to comment.