Skip to content

Commit c69c8e3

Browse files
committed
Revert "Update for Theano v0.7.0 release"
This reverts commit 888487b.
1 parent 4f266c6 commit c69c8e3

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ Check out the [Tutorial](http://pymc-devs.github.io/pymc3/getting_started/)!
3535
The latest version of PyMC 3 can be installed from the master branch using pip:
3636

3737
```
38-
pip install git+https://github.com/pymc-devs/pymc3
38+
pip install --process-dependency-links git+https://github.com/pymc-devs/pymc3
3939
```
4040

41+
The `--process-dependency-links` flag ensures that the developmental branch of Theano, which PyMC requires, is installed. If a recent developmental version of Theano has been installed with another method, this flag can be dropped.
42+
4143
Another option is to clone the repository and install PyMC using `python setup.py install` or `python setup.py develop`.
4244

4345
**Note:** Running `pip install pymc` will install PyMC 2.3, not PyMC 3, from PyPI.

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,16 @@
2727
'Operating System :: OS Independent']
2828

2929
install_reqs = ['numpy>=1.7.1', 'scipy>=0.12.0', 'matplotlib>=1.2.1',
30-
'Theano>=0.7.0']
30+
'Theano<=0.7dev']
3131

3232
test_reqs = ['nose']
3333
if sys.version_info[0] == 2: # py3 has mock in stdlib
3434
test_reqs.append('mock')
3535

36+
## The current release of Theano does not support `as_op` decorator, so
37+
## we're using the developmental version from github.
38+
dep_links = ['https://github.com/Theano/Theano/tarball/master#egg=Theano-0.7dev']
39+
3640
if __name__ == "__main__":
3741
setup(name=DISTNAME,
3842
version=VERSION,
@@ -49,5 +53,6 @@
4953
package_data = {'pymc3.examples': ['data/*.*']},
5054
classifiers=classifiers,
5155
install_requires=install_reqs,
56+
dependency_links=dep_links,
5257
tests_require=test_reqs,
5358
test_suite='nose.collector')

0 commit comments

Comments
 (0)