Skip to content

Commit 888487b

Browse files
committed
Update for Theano v0.7.0 release
We were using the development version for as_op [1], but now the current PyPI version for Theano (v0.7.0) includes this. It also contains the fix [2] for issue #660. [1]: 177c406 [2]: Theano 0fb5fe65d8d6930a95fe52da6e54468063d3a772
1 parent 642fb7f commit 888487b

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

readme.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,9 @@ Check out the [Tutorial](http://nbviewer.ipython.org/github/pymc-devs/pymc3/blob
3535
The latest version of PyMC 3 can be installed from the master branch using pip:
3636

3737
```
38-
pip install --process-dependency-links git+https://github.com/pymc-devs/pymc3
38+
pip install 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-
4341
Another option is to clone the repository and install PyMC using `python setup.py install` or `python setup.py develop`.
4442

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

setup.py

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

2929
install_reqs = ['numpy>=1.7.1', 'scipy>=0.12.0', 'matplotlib>=1.2.1',
30-
'Theano<=0.7dev']
30+
'Theano>=0.7.0']
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-
4036
if __name__ == "__main__":
4137
setup(name=DISTNAME,
4238
version=VERSION,
@@ -53,6 +49,5 @@
5349
package_data = {'pymc3.examples': ['data/*']},
5450
classifiers=classifiers,
5551
install_requires=install_reqs,
56-
dependency_links=dep_links,
5752
tests_require=test_reqs,
5853
test_suite='nose.collector')

0 commit comments

Comments
 (0)