Skip to content

Commit

Permalink
Release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
drasmuss committed May 30, 2018
1 parent 1016063 commit 411f271
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:
matrix:
- MODE: test # default build
# - MODE: examples # TODO: some problem with nbval on windows (timeout)
- TF_VERSION: tf-nightly
- TF_VERSION: tensorflow --pre
NENGO_VERSION: git+https://github.com/nengo/nengo.git
- NUMPY_VERSION: numpy==1.11.0
TF_VERSION: tensorflow==1.3.0
Expand Down
4 changes: 2 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ Release History
- Removed
- Fixed
0.6.3 (unreleased)
------------------
1.0.0 (May 30, 2018)
--------------------

**Added**

Expand Down
18 changes: 9 additions & 9 deletions nengo_dl/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@
import warnings

name = "nengo-dl"
version_info = (0, 6, 3) # (major, minor, patch)
dev = True
version_info = (1, 0, 0) # (major, minor, patch)
dev = False

version = "{v}{dev}".format(v='.'.join(str(v) for v in version_info),
dev='.dev0' if dev else '')

# check nengo version
try:
from nengo.version import version_info as nengo_version
import nengo.version

minimum_nengo_version = (2, 7, 0)
latest_nengo_version = (2, 7, 1)
if nengo_version < minimum_nengo_version: # pragma: no cover
latest_nengo_version = (2, 7, 0)
if nengo.version.version_info < minimum_nengo_version: # pragma: no cover
raise ValueError(
"`nengo_dl` does not support `nengo` version %s. Upgrade "
"with 'pip install --upgrade --no-deps nengo'." %
(nengo_version,))
elif nengo_version > latest_nengo_version: # pragma: no cover
(nengo.version.version,))
elif nengo.version.version_info > latest_nengo_version: # pragma: no cover
warnings.warn(
"This version of `nengo_dl` has not been tested with your `nengo` "
"version %s. The latest fully supported version is %s" %
(nengo_version, latest_nengo_version))
"version (%s). The latest fully supported version is %d.%d.%d." %
((nengo.version.version,) + latest_nengo_version))
except ImportError:
# nengo not installed, can't check version
pass
25 changes: 14 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,18 @@ def read(*filenames, **kwargs):
"tests": tests_require,
},
entry_points={"nengo.backends": ["dl = nengo_dl:Simulator"]},
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: Free for non-commercial use',
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'License :: Free for non-commercial use',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
)

0 comments on commit 411f271

Please sign in to comment.