|
1 | 1 | pyNeuroML |
2 | 2 | ========= |
3 | 3 |
|
| 4 | +[](https://github.com/NeuroML/pyNeuroML/actions/workflows/ci.yml) |
| 5 | +[](https://travis-ci.com/NeuroML/pyNeuroML) |
| 6 | +[](https://pypi.org/project/pyNeuroML/) |
| 7 | +[](https://pypi.org/project/pyNeuroML/) |
| 8 | +[](https://github.com/NeuroML/pyNeuroML/blob/master/LICENSE.lesser) |
| 9 | +[](https://github.com/NeuroML/pyNeuroML/pulls) |
| 10 | +[](https://github.com/NeuroML/pyNeuroML/issues) |
| 11 | +[](https://github.com/NeuroML) |
| 12 | +[](https://twitter.com/NeuroML) |
| 13 | + |
4 | 14 | A single package in Python unifying scripts and modules for reading, writing, simulating and analysing NeuroML2/LEMS models. |
5 | 15 |
|
6 | 16 | Builds on: [libNeuroML](https://github.com/NeuralEnsemble/libNeuroML) & [PyLEMS](https://github.com/LEMS/pylems) and wraps functionality from [jNeuroML](https://github.com/NeuroML/jNeuroML). |
7 | 17 |
|
8 | 18 | Installation |
9 | 19 | ------------ |
10 | 20 |
|
| 21 | +### Dependencies |
| 22 | + |
| 23 | +pyNeuroML relies on additional software to carry out its functions: |
| 24 | + |
| 25 | +- Java Runtime environment (JRE) |
| 26 | +- dot (from [Graphviz](http://graphviz.org/)) |
| 27 | +- lxml |
| 28 | + |
| 29 | +On most Linux systems, these can be installed using the default package manager. |
| 30 | +On Ubuntu based distributions: |
| 31 | + |
| 32 | + sudo apt-get install python-lxml graphviz openjdk-11-jdk |
| 33 | + |
| 34 | + |
11 | 35 | ### Pip |
12 | 36 |
|
13 | | -pyNeuroML can be installed with pip: |
| 37 | +pyNeuroML can be installed with pip (preferably in a [virtual environment](https://docs.python.org/3/tutorial/venv.html)): |
| 38 | + |
| 39 | + pip install pyneuroml |
| 40 | + |
| 41 | +### Fedora |
14 | 42 |
|
15 | | - sudo pip install pyneuroml |
| 43 | +The [NeuroFedora](https://neuro.fedoraproject.org) community initiative provides pyNeuroML for use on the [Fedora Linux Distribution](https://getfedora.org). |
| 44 | +Fedora users can install pyNeuroML using the following commands: |
16 | 45 |
|
17 | | -You may need to install lxml on Linux with: |
| 46 | + sudo dnf copr enable @neurofedora/neurofedora-extra |
| 47 | + sudo dnf install python3-pyneuroml |
18 | 48 |
|
19 | | - sudo apt-get install python-lxml |
| 49 | +This will also pull in all the necessary dependencies (Java, lxml, graphviz). |
| 50 | +Please see the [project documentation](https://docs.fedoraproject.org/en-US/neurofedora/copr/) for more information. |
20 | 51 |
|
21 | 52 | ### Installation from source |
22 | 53 |
|
|
0 commit comments