Commit e192147c authored by David Keitel's avatar David Keitel
Browse files

Merge branch 'fix-py3-setup' into 'master'

Fix py3 setup

See merge request GregAshton/PyFstat!23
parents 24b8f256 f4f91f17
......@@ -46,7 +46,7 @@ $ git clone
### Dependencies
`pyfstat` makes uses the following external python modules:
`pyfstat` uses the following external python modules:
* [numpy](
* [matplotlib]( >= 1.4
......@@ -55,14 +55,12 @@ $ git clone
* [corner](
* [dill](
* [peakutils](
* [pathos](
* [tqdm](
* [bashplotlib](
* [lalsuite](
* [tqdm](, if installed, this
provides a useful progress bar and estimate of the remaining run-time.
* [bashplotlib](, if installed, presents
a histogram of the loaded SFT data
* [pathos](, if installed, this provides
support for multiprocessing some functions.
* [pycuda](, required for the tCWFstatMapVersion=pycuda
option of the TransientGridSearch class.
(Note: 'pip install pycuda' requires a working nvcc compiler in your path.)
......@@ -74,10 +72,10 @@ For an introduction to installing modules see
$ pip install -r /PATH/TO/THIS/DIRECTORY/requirements.txt
In addition to these modules, you also need a working **swig-enabled**
[`lalapps`]( with
at least `lalpulsar`. A minimal confuration line to use when installing
`lalapps` is
If you prefer to make your own LALSuite installation
[](from source),
make sure it is **swig-enabled** and contains at least the `lalpulsar` package.
A minimal confuration line to use would be e.g.:
$ ./configure --prefix=${HOME}/lalsuite-install --disable-all-lal --enable-lalpulsar --enable-lalapps --enable-swig
......@@ -86,7 +84,8 @@ $ ./configure --prefix=${HOME}/lalsuite-install --disable-all-lal --enable-lalpu
### `pyfstat` installation
The script can be installed system wide, assuming you are in the source directory, via
The module and associated scripts can be installed system wide (or to the currently active venv),
assuming you are in the source directory, via
$ python install
license_file = LICENSE.txt
license_file = LICENSE
exclude = .git,docs,build,dist,tests,*
......@@ -13,7 +13,10 @@ setup(
author="Gregory Ashton",
description="python wrappers for lalpulsar F-statistic code",
"pyfstat": [
......@@ -31,5 +34,6 @@ setup(
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment