From 318b8ee28d76bfc113d72fdec6b10f3c468a4403 Mon Sep 17 00:00:00 2001 From: "Alex J. Champandard" Date: Sun, 20 Dec 2015 19:35:15 +0100 Subject: [PATCH] Moving away from setup.py to requirements.txt. Python packaging is a disaster. --- requirements.txt | 3 +++ setup.py | 6 +++--- sknn/__init__.py | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..ecf2358 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +scikit-learn>=0.17 +git+https://github.com/Theano/Theano.git@a85a44fc#egg=Theano==0.8-dev +git+https://github.com/Lasagne/Lasagne.git@358d9f4#egg=Lasagne==0.2-dev \ No newline at end of file diff --git a/setup.py b/setup.py index bb21f5f..454a5e3 100644 --- a/setup.py +++ b/setup.py @@ -19,10 +19,10 @@ install_requires = [ - 'scikit-learn', - 'theano', + 'scikit-learn>=0.17', + 'Theano>=0.8-dev', + 'Lasagne>=0.2-dev', 'colorama' if sys.platform == 'win32' else '', - 'lasagne', ] tests_require = [ diff --git a/sknn/__init__.py b/sknn/__init__.py index 29be782..6e7524c 100644 --- a/sknn/__init__.py +++ b/sknn/__init__.py @@ -2,7 +2,7 @@ from __future__ import (absolute_import, unicode_literals, print_function) __author__ = 'alexjc, ssamot' -__version__ = '0.4' +__version__ = '0.5' import os