summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2015-12-29 21:58:36 +0100
committerRalf Gommers <ralf.gommers@gmail.com>2016-01-16 12:18:27 +0100
commit105a498fcc987f9592b7a8a632f50544fe23ff31 (patch)
treead4f85f92a4f75f69620f4e9972036f8db72e08d /setup.py
parent08e75cad2b736cbed625ab3a831bb6f4887ca52e (diff)
downloadnumpy-105a498fcc987f9592b7a8a632f50544fe23ff31.tar.gz
DOC: add NumpyVersion to the docs, and mention it in version.py
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index c06465970..ff8f96247 100755
--- a/setup.py
+++ b/setup.py
@@ -126,6 +126,8 @@ def get_version_info():
def write_version_py(filename='numpy/version.py'):
cnt = """
# THIS FILE IS GENERATED FROM NUMPY SETUP.PY
+#
+# To compare versions robustly, use `numpy.lib.NumpyVersion`
short_version = '%(version)s'
version = '%(version)s'
full_version = '%(full_version)s'