mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-01 15:52:39 +02:00
Python 3 fixes
This commit is contained in:
parent
e58cc51c47
commit
e7d1277e62
17 changed files with 52 additions and 48 deletions
|
|
@ -13,7 +13,6 @@ Continuous integration status: ![CI status](https://travis-ci.org/SheffieldML/GP
|
|||
### Python 3 Compatibility
|
||||
Work is underway to make GPy run on Python 3.
|
||||
|
||||
* Python 2.x compatibility is currently broken in this fork
|
||||
* All tests in the testsuite now run on Python3.
|
||||
|
||||
To see this for yourself, in Ubuntu 14.04, you can do
|
||||
|
|
@ -21,12 +20,17 @@ To see this for yourself, in Ubuntu 14.04, you can do
|
|||
git clone https://github.com/mikecroucher/GPy.git
|
||||
cd GPy
|
||||
git checkout devel
|
||||
python3 setup.py build_ext --inplace
|
||||
nosetests3 GPy/testing
|
||||
|
||||
nosetests3 is Ubuntu's way of reffering to the Python 3 version of nosetests. You install it with
|
||||
|
||||
sudo apt-get install python3-nose
|
||||
|
||||
The command `python3 setup.py build_ext --inplace` builds the Cython extensions. IF it doesn't work, you may need to install this:
|
||||
|
||||
sudo apt-get install python3-dev
|
||||
|
||||
* Test coverage is less than 100% so it is expected that there is still more work to be done. We need more tests and examples to try out.
|
||||
* All weave functions not covered by the test suite are *simply commented out*. Can add equivalents later as test functions become available
|
||||
* A set of benchmarks would be useful!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue