Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
f3cc0971
Commit
f3cc0971
authored
Jan 20, 2018
by
Martin Reinecke
Browse files
tweak installation
parent
1a7d9d99
Pipeline
#23871
failed
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f3cc0971
...
...
@@ -16,10 +16,7 @@ before_script:
test_min
:
stage
:
test
script
:
# - python setup.py install --user -f
# - python3 setup.py install --user -f
-
nosetests -x --with-coverage --cover-package=nifty4 --cover-branches
-
OMP_NUM_THREADS=1 mpiexec --allow-run-as-root -n 4 nosetests -x --with-coverage --cover-package=nifty4 --cover-branches
-
OMP_NUM_THREADS=1 mpiexec --allow-run-as-root -n 4 nosetests3 -x
-
>
coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'
-
coverage report | grep TOTAL | awk '{ print "TOTAL
:
"
$6;
}'
README.md
View file @
f3cc0971
...
...
@@ -66,33 +66,35 @@ Installation
-
[
Python
](
http://www.python.org/
)
(
v2.7.x
or 3.5.x)
-
[
NumPy
](
http://www.numpy.org/
)
-
[
pyFFTW
](
https://pypi.python.org/pypi/pyFFTW
)
Optional dependencies:
-
[
pyFFTW
](
https://pypi.python.org/pypi/pyFFTW
)
-
[
pyHealpix
](
https://gitlab.mpcdf.mpg.de/ift/pyHealpix
)
-
[
mpi4py
](
https://mpi4py.scipy.org
)
### Sources
The current version of Nifty3 can be obtained by cloning the repository:
The current version of Nifty4 can be obtained by cloning the repository and
switching to the NIFTy_4 branch:
git clone https://gitlab.mpcdf.mpg.de/ift/NIFTy.git
git checkout NIFTy_4
### Installation via pip
It is possible to simply install NIFTy with all its dependencies via the command
pip install --user --process-dependency-links --egg git+https://gitlab.mpcdf.mpg.de/ift/NIFTy.git@
nifty
4
pip install --user --process-dependency-links --egg git+https://gitlab.mpcdf.mpg.de/ift/NIFTy.git@
NIFTy_
4
### Running the tests
In oder to run the tests one needs two additional packages:
pip install nose parameterized
pip install
--user
nose parameterized
Afterwards the tests (including a coverage report)
ar
e run using the
following
command in the repository root:
Afterwards the tests (including a coverage report)
can b
e run using the
following
command in the repository root:
nosetests -x --with-coverage --cover-html --cover-package=nifty4
...
...
@@ -125,9 +127,6 @@ The NIFTy package is licensed under the terms of the
* * * * *
**NIFTy**
project homepage:
[](
http://www.mpa-garching.mpg.de/ift/nifty/
)
[1] Selig et al., "NIFTy - Numerical Information Field Theory - a
versatile Python library for signal inference",
[
A&A, vol. 554, id.
A26
](
http://dx.doi.org/10.1051/0004-6361/201321236
)
, 2013;
...
...
ci/requirements.txt
View file @
f3cc0971
parameterized
coverage
pyfftw
git+https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
setup.py
View file @
f3cc0971
...
...
@@ -30,7 +30,7 @@ setup(name="nifty4",
zip_safe
=
False
,
license
=
"GPLv3"
,
setup_requires
=
[
'future'
,
'numpy'
],
install_requires
=
[
'future'
,
'numpy'
],
install_requires
=
[
'future'
,
'numpy'
,
'pyfftw>=0.10.4'
],
classifiers
=
[
"Development Status :: 4 - Beta"
,
"Topic :: Utilities"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment