Skip to content

Commit

Permalink
release version 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hklarner committed Jan 15, 2021
1 parent cf445fc commit 4447eba
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 23 deletions.
2 changes: 1 addition & 1 deletion PyBoolNet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


def version() -> str:
return "2.2.9"
return "2.3.0"


def pprint(x):
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,18 @@ pip3 install git+https://github.com/hklarner/PyBoolNet
To install a tagged version use the `@`:

```bash
pip3 install git+https://github.com/hklarner/PyBoolNet@2.2.9
pip3 install git+https://github.com/hklarner/PyBoolNet@2.3.0
```

For release notes, see

* [PyBoolNet/RELEASENOTES.md](https://github.com/hklarner/PyBoolNet/blob/master/RELEASENOTES.md)


## Contributions
- send pull requests to the `develop` branch
- add tests to `PyBoolNet/tests/` (the other location, `PyBoolNet/PyBoolNet/Tests/` is deprecated)


## Contributions
If you want to contribute code to PyBoolNet, please send pull requests to the `develop` branch.
5 changes: 4 additions & 1 deletion RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@

## release notes for next version
## release notes for version 2.3.0 (January 2021)
- bugfix in `find_attractor_state_by_randomwalk_and_ctl` (by @etonello)
- adds `STGs.successors_mixed` (by @nanls)
- bugfix in `random_successor_mixed` (by @nanls)
- added `STGs.successors_mixed` (by @nanls)
- bugfix `random_successor_mixed` (by @nanls)
- bugfix in `input_combinations` of `PrimeImplicants`, typo: `primes` -> `Primes` (by @leonardogian)
Expand Down
2 changes: 1 addition & 1 deletion conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "pyboolnet" %}
{% set version = "2.2.9" %}
{% set version = "2.3.0" %}

package:
name: '{{ name|lower }}'
Expand Down
19 changes: 5 additions & 14 deletions docs/Installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,30 +34,21 @@ Make sure that :ref:`NetworkX <installation_networkx>`, :ref:`Graphviz <installa

Install |software| with *pip*::

$ sudo pip3 install PyBoolNet-2.2.9_linux64.tar.gz
$ sudo pip3 install git+https://github.com/hklarner/PyBoolNet@2.3.0

which should place the package here::

/usr/local/lib/python<version>/dist-packages/PyBoolNet

Use the option ``--user`` (literally) if you do not have sudo rights::

$ pip3 install PyBoolNet-2.2.9.tar.gz --user
$ pip3 install git+https://github.com/hklarner/PyBoolNet@2.3.0 --user

The package is likely going to be placed here::

/home/<user>/.local/lib/python<version>/dist-packages/PyBoolNet

where ``<user>`` is the name you are logged in with (``$ whoami``) and ``<version>`` is the Python version you are using.
To install |software| using *Distutils* unpack *PyBoolNet-2.2.9.tar.gz* into a temporary folder and run::

$ sudo python setup.py install

again, using the ``--user`` flag if you do not have sudo rights::

$ python setup.py install --user

The locations should be the same as when installing with *pip*.

You should now be able to import |software|::

Expand Down Expand Up @@ -101,15 +92,15 @@ Download and install Graphviz_ and ImageMagick_ from

Install |software| with *pip*::

$ sudo pip3 install PyBoolNet-2.2.9_mac64.tar.gz
$ sudo pip3 install git+https://github.com/hklarner/PyBoolNet@2.3.0

which should place the package here::

/usr/local/lib/python<version>/dist-packages/PyBoolNet

Use the option ``--user`` (literally) if you do not have sudo rights::

$ pip3 install PyBoolNet-2.2.9.tar.gz --user
$ pip3 install git+https://github.com/hklarner/PyBoolNet@2.3.0 --user

The package is likely going to be placed here::

Expand Down Expand Up @@ -142,7 +133,7 @@ on

To install |software| with *pip*::

C:\> pip.exe install PyBoolNet-2.2.9_win64.tar.gz
C:\> pip.exe install git+https://github.com/hklarner/PyBoolNet@2.3.0

which should place the package here::

Expand Down
2 changes: 1 addition & 1 deletion docs/Substitutions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@



.. |software| replace:: *PyBoolNet 2.2.9*
.. |software| replace:: *PyBoolNet 2.3.0*
.. |myemail| replace:: *hannes.klarner@fu-berlin.de*

.. _BNetToPrime: https://github.com/xstreck1/BNetToPrime
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
#
# The short X.Y version.

version = "2.2.9"
version = "2.3.0"
# The full version, including alpha/beta/rc tags.
release = "2.2.9"
release = "2.3.0"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
pyboolnet_dep_folder = os.path.join("Dependencies", "win64")
else:
# no idea if we could get here?
raise Exception
raise Exception

print(f"PyBoolNet dependency folder = {pyboolnet_dep_folder}")

# copy dependencies to PyBoolNet/Dependencies
copy_tree(pyboolnet_dep_folder, os.path.join("PyBoolNet", "Dependencies"))
Expand All @@ -38,7 +40,7 @@
package_data_files.extend([os.path.join(root, x) for x in filenames])

setup(name="PyBoolNet",
version="2.2.9",
version="2.3.0",
description="Python Toolbox for the Generation, Manipulation and Analysis of Boolean Networks.",
author="Hannes Klarner",
author_email="hannes.klarner@fu-berlin.de",
Expand Down

0 comments on commit 4447eba

Please sign in to comment.