Skip to content

Commit 0e5257d

Browse files
committed
updated version number to 1.0
1 parent 65937a7 commit 0e5257d

File tree

4 files changed

+25
-15
lines changed

4 files changed

+25
-15
lines changed

README.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,11 @@ Links
3535
* Issue tracker: https://github.com/INCF/nineml-python/issues
3636

3737

38-
3938
Relation to the NineML Specification
4039
------------------------------------
4140

4241
The layout of the Python modules and classes in the NineML Python Library
43-
relates closely to the structure of the `NineML specification`_ v1.0. However,
42+
relates closely to the structure of the `NineML specification`_ (v1.0). However,
4443
there are notable exceptions where the NineML Python Library uses names and
4544
relationships that are planned to be changed in v2.0 of the specification
4645
(the NineML Python Library will be backwards compatible), such as the
@@ -54,8 +53,9 @@ provided.
5453

5554
In addition to classes that directly correspond to the 9ML object model, a
5655
range of shorthand notations ("syntactic sugar") exist to make writing 9ML
57-
models by hand more convenient (see the ``nineml.sugar`` module). These notations
58-
are frequently demonstrated in the *examples* directory of the repository.
56+
models by hand more convenient (see the ``nineml.sugar`` module). These
57+
notations are frequently demonstrated in the *examples* directory of the
58+
repository.
5959

6060

6161
The NineML Catalog
@@ -73,26 +73,26 @@ Installation
7373
HDF5 (dev)
7474
~~~~~~~~~~
7575

76-
To add support to read or write HDF5_ serialisations you must first install a
77-
HDF5_ dev library (i.e. with headers).
76+
To add support to read or write HDF5_ serialisations you must first install
77+
a HDF5_ dev library (i.e. with the C headers).
7878

7979
On macOS HDF5_ can be installed using Homebrew_::
8080

8181
$ brew install hdf5
8282

83-
On Ubuntu/Debian HDF5_ can be installed via the following packages:
83+
On Ubuntu/Debian HDF5_ can be installed by one of the following packages:
8484

8585
* libhdf5-serial-dev (serial)
8686
* libhdf5-openmpi-dev (parallel with Open MPI)
8787
* libhdf5-mpich-dev (parallel with MPICH)
8888

89-
.. note: If you don't install a HDF5_ other serialisations can
90-
still be used but you will need to install the package manually.
89+
If you don't install HDF5_ the other serialisation formats can still be used
90+
but you will need to install the package manually (i.e. not use *pip*).
9191

9292
Pip
9393
~~~
9494

95-
The NineML Python Library can be installed using ``pip``::
95+
The NineML Python Library can be installed using *pip*::
9696

9797
$ pip install nineml
9898

nineml/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
:license: BSD-3, see LICENSE for details.
66
"""
77

8-
__version__ = "1.0rc2"
9-
8+
from .version import __version__
109
from . import annotations # @IgnorePep8
1110
from . import units # @IgnorePep8
1211
from .document import Document # @IgnorePep8

nineml/version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '1.0'

setup.py

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
#!/usr/bin/env python
22

33
from setuptools import setup, find_packages
4+
import os
5+
import sys
6+
7+
PACKAGE_NAME = 'nineml'
8+
9+
# Get version number
10+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), PACKAGE_NAME))
11+
from version import __version__ # @IgnorePep8 @UnresolvedImport
12+
sys.path.pop(0)
13+
414

515
setup(
6-
name="nineml",
7-
version="1.0rc2",
16+
name=PACKAGE_NAME,
17+
version=__version__,
818
packages=find_packages(),
919
# add your name here if you contribute to the code
1020
author="Andrew P. Davison, Thomas G. Close, Mike Hull, Eilif Muller",
@@ -17,7 +27,7 @@
1727
keywords=("computational neuroscience modeling interoperability XML YAML"
1828
"HDF5 JSON"),
1929
url="http://nineml-python.readthedocs.io",
20-
classifiers=['Development Status :: 4 - Beta',
30+
classifiers=['Development Status :: 5 - Production/Stable',
2131
'Environment :: Console',
2232
'Intended Audience :: Science/Research',
2333
'License :: OSI Approved :: BSD License',

0 commit comments

Comments
 (0)