Revision bd6b0362e87a9e9eec02cb78f0a32d022b394a54 authored by Duncan Macleod on 08 May 2017, 13:26:17 UTC, committed by Ian Harry on 08 May 2017, 13:26:17 UTC
* updated print statements to print function

required for python 3
this only updates the build script and package modules, no executable scripts

* updated exception syntax to be python3-compatible

* pycbc._version_helper: don't import exceptions

module doesn't exist for python3 and LookupError is available without it anyway

* pycbc.libutils: use subprocess instead of command

command is deprecated

* use relative imports

python3 defaults to absolute imports, so these wouldn't work

* pycbc.waveform.parameters: updated import

UserList module was removed for python3

* pycbc.types.array: catch long NameError [py3]

* libutils: fixed python2 bug introduced by 8b04760

turns out subprocess doesn't include getoutput for py2
1 parent b39b501
History
File Mode Size
bin
docs
examples
pycbc
test
tools
.gitignore -rw-r--r-- 80 bytes
.landscape.yml -rw-r--r-- 127 bytes
.travis.yml -rw-r--r-- 20.4 KB
Dockerfile -rw-r--r-- 72 bytes
INSTALL -rw-r--r-- 2.4 KB
LICENSE -rw-r--r-- 34.3 KB
MANIFEST.in -rw-r--r-- 104 bytes
README.md -rw-r--r-- 3.2 KB
install_pycbc.sh -rwxr-xr-x 158 bytes
pycbc.spec -rw-r--r-- 1.8 KB
requirements.txt -rw-r--r-- 647 bytes
setup.py -rw-r--r-- 19.2 KB

README.md

back to top