-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from scottransom/python3
Finally merging this very long-standing set of PRs! Thank you all, especially @matteobachetti @gijzelaerr and @paulray ! Cheers!
- Loading branch information
Showing
152 changed files
with
10,341 additions
and
8,488 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
*.[oa] | ||
*.so | ||
*.dylib | ||
*.pyc | ||
*~ | ||
.DS_Store | ||
TAGS | ||
*egg-info | ||
lib/fftw_wisdom.txt | ||
bin/GBT350filterbank | ||
bin/accelsearch | ||
bin/bary | ||
bin/bincand | ||
bin/cal2mjd | ||
bin/check_parkes_raw | ||
bin/dat2sdat | ||
bin/dftfold | ||
bin/downsample | ||
bin/dump_spigot_zerolag | ||
bin/exploredat | ||
bin/explorefft | ||
bin/fitsdelcol | ||
bin/fitsdelrow | ||
bin/makedata | ||
bin/makeinf | ||
bin/mjd2cal | ||
bin/mpiprepsubband | ||
bin/patchdata | ||
bin/plotbincand | ||
bin/prepdata | ||
bin/prepfold | ||
bin/prepsubband | ||
bin/psrorbit | ||
bin/psrfits_dumparrays | ||
bin/quicklook | ||
bin/readfile | ||
bin/realfft | ||
bin/rednoise | ||
bin/rfifind | ||
bin/sdat2dat | ||
bin/search_bin | ||
bin/search_rzw | ||
bin/shiftdata | ||
bin/show_pfd | ||
bin/spigot2filterbank | ||
bin/spigotSband2filterbank | ||
bin/split_parkes_beams | ||
bin/swap_endian | ||
bin/taperaw | ||
bin/toas2dat | ||
bin/un_sc_td | ||
bin/weight_psrfits | ||
bin/window | ||
bin/zapbirds | ||
lib/python/ppgplot/ | ||
lib/python/presto/ | ||
python/build/ | ||
src/slalib/sla_test | ||
src/makewisdom | ||
src/fftw_wisdom.txt | ||
MANIFEST | ||
.venv*/ | ||
dist/ | ||
.mypy_cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,3 +58,7 @@ python/build/ | |
src/slalib/sla_test | ||
src/makewisdom | ||
src/fftw_wisdom.txt | ||
MANIFEST | ||
.venv*/ | ||
dist/ | ||
.mypy_cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
language: python | ||
matrix: | ||
include: | ||
- env: TARGET=py2 | ||
- env: TARGET=py3 | ||
- env: TARGET=pep8 | ||
- env: TARGET=mypy | ||
allow_failures: | ||
- env: TARGET=pep8 | ||
- env: TARGET=mypy | ||
sudo: required | ||
services: | ||
- docker | ||
before_install: | ||
- true | ||
install: | ||
- docker build . -t ${TARGET} -f .travis/${TARGET}.docker | ||
before_script: | ||
- true | ||
script: | ||
- true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM kernsuite/base:4 | ||
RUN docker-apt-install python3-pip | ||
RUN pip3 install mypy | ||
ADD . /code | ||
WORKDIR /code | ||
RUN mypy --ignore-missing-imports python | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM kernsuite/base:4 | ||
RUN docker-apt-install python3-pip | ||
RUN pip3 install pycodestyle | ||
ADD . /code | ||
WORKDIR /code | ||
RUN pycodestyle python --ignore=E501 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM kernsuite/base:4 | ||
RUN docker-apt-install \ | ||
python-pip \ | ||
python-numpy \ | ||
python-future \ | ||
python-six \ | ||
python-scipy \ | ||
python-astropy \ | ||
gfortran \ | ||
pgplot5 \ | ||
libx11-dev \ | ||
libglib2.0-dev \ | ||
libcfitsio-dev \ | ||
libpng-dev \ | ||
libfftw3-dev | ||
RUN docker-apt-install pgplot5 | ||
ADD . /code | ||
ENV PRESTO /code | ||
ENV LD_LIBRARY_PATH /code/lib | ||
WORKDIR /code/src | ||
RUN make libpresto slalib | ||
WORKDIR /code | ||
RUN pip install /code | ||
RUN python tests/test_presto_python.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM kernsuite/base:4 | ||
RUN docker-apt-install \ | ||
python3-pip \ | ||
python3-numpy \ | ||
python3-future \ | ||
python3-six \ | ||
python3-scipy \ | ||
python3-astropy \ | ||
gfortran \ | ||
pgplot5 \ | ||
libx11-dev \ | ||
libglib2.0-dev \ | ||
libcfitsio-dev \ | ||
libpng-dev \ | ||
libfftw3-dev | ||
ADD . /code | ||
ENV PRESTO /code | ||
ENV LD_LIBRARY_PATH /code/lib | ||
WORKDIR /code/src | ||
RUN make libpresto slalib | ||
WORKDIR /code | ||
RUN pip3 install /code | ||
RUN python3 tests/test_presto_python.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
recursive-include bin * | ||
include pyproject.toml | ||
recursive-include include *.h | ||
include python/presto/cosine_rand.json |
Oops, something went wrong.