From cbf7437cbbf37be12183528d5f4c16c262d482da Mon Sep 17 00:00:00 2001 From: gviejo Date: Sun, 22 Oct 2023 18:26:26 -0400 Subject: [PATCH] Bumping v0.4.0 --- README.md | 12 ++---------- docs/index.md | 4 ++-- pyproject.toml | 2 +- setup.py | 6 +++--- 4 files changed, 8 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 0ed201a8..37aba9b5 100644 --- a/README.md +++ b/README.md @@ -30,11 +30,11 @@ pynapple is a light-weight python library for neurophysiological data analysis. :fire::fire::fire::fire::fire::fire::fire::fire: New release :fire::fire::fire::fire::fire::fire::fire::fire::fire::fire: --------------- -The version 0.4 of pynapple will rely on the [numpy array container](https://numpy.org/doc/stable/user/basics.dispatch.html) approach instead of Pandas. Pynapple builtin functions will remain the same except for functions inherited from Pandas. Typically this line of code in `pynapple<=0.3.6` : +Starting with 0.4, pynapple rely on the [numpy array container](https://numpy.org/doc/stable/user/basics.dispatch.html) approach instead of Pandas. Pynapple builtin functions will remain the same except for functions inherited from Pandas. Typically this line of code in `pynapple<=0.3.6` : ```python meantsd = tsdframe.mean(1) ``` -will now be : +is now: ```python meantsd = np.mean(tsdframe, 1) ``` @@ -42,14 +42,6 @@ in `pynapple>=0.4.0`. This allows for a better handling of returned objects. Additionaly, it is now possible to define time series objects with more than 2 dimensions with `TsdTensor`. You can also look at this [notebook](https://pynapple-org.github.io/pynapple/generated/gallery/tutorial_pynapple_numpy/) for a demonstration of numpy compatibilities. -To install the pre-release version: - -``` {.sourceCode .shell} -$ conda create --name pynapple pip python=3.8 -$ conda activate pynapple -$ pip install --pre pynapple -``` - :fire::fire::fire::fire::fire::fire::fire::fire::fire::fire::fire::fire::fire::fire::fire::fire::fire::fire::fire::fire::fire::fire::fire: --------------- diff --git a/docs/index.md b/docs/index.md index 9f9c49e8..4786fc87 100644 --- a/docs/index.md +++ b/docs/index.md @@ -24,11 +24,11 @@ pynapple is a light-weight python library for neurophysiological data analysis. :fire::fire::fire::fire::fire::fire::fire::fire: New release :fire::fire::fire::fire::fire::fire::fire::fire::fire::fire: --------------- -The version 0.4 of pynapple will rely on the [numpy array container](https://numpy.org/doc/stable/user/basics.dispatch.html) approach instead of Pandas. Pynapple builtin functions will remain the same except for functions inherited from Pandas. Typically this line of code in `pynapple<=0.3.6` : +Starting with 0.4, pynapple rely on the [numpy array container](https://numpy.org/doc/stable/user/basics.dispatch.html) approach instead of Pandas. Pynapple builtin functions will remain the same except for functions inherited from Pandas. Typically this line of code in `pynapple<=0.3.6` : ```python meantsd = tsdframe.mean(1) ``` -will now be : +is now : ```python meantsd = np.mean(tsdframe, 1) ``` diff --git a/pyproject.toml b/pyproject.toml index 61896527..b7bc66ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "pynapple" -version = "0.4.0a1" +version = "0.4.0" description = "PYthon Neural Analysis Package Pour Laboratoires d’Excellence" readme = "README.md" authors = [{ name = "Guillaume Viejo", email = "guillaume.viejo@gmail.com" }] diff --git a/setup.py b/setup.py index 2e5c8f17..620d3239 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ ], description="PYthon Neural Analysis Package Pour Laboratoires d’Excellence", install_requires=requirements, - license="GNU General Public License v3", + license="MIT License", # long_description='pynapple is a Python library for analysing neurophysiological data. It allows to handle time series and epochs but also to use generic functions for neuroscience such as tuning curves and cross-correlogram of spikes. It is heavily based on neuroseries.' # + '\n\n' + history, long_description=readme, @@ -61,8 +61,8 @@ test_suite='tests', tests_require=test_requirements, url='https://github.com/pynapple-org/pynapple', - version='v0.4.0a1', + version='v0.4.0', zip_safe=False, long_description_content_type='text/markdown', - download_url='https://github.com/pynapple-org/pynapple/archive/refs/tags/v0.4.0a1.tar.gz' + download_url='https://github.com/pynapple-org/pynapple/archive/refs/tags/v0.4.0.tar.gz' )