forked from lmfit/uncertainties
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL.txt
39 lines (24 loc) · 1.06 KB
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
* Some installation methods:
python setup.py install
or, for an installation in the user Python library (no additional access
rights needed):
python setup.py install --user
or, for an installation in a custom directory my_directory:
python setup.py install --install-lib my_directory
or, if additional access rights are needed (Unix):
sudo python setup.py install
You can also simply move the uncertainties/ or uncertainties-py*/
directory to a location that Python can import from (directory in
which scripts using uncertainties are run, etc.), and then rename it
uncertainties/ if necessary (with no Python version number). In this
case, if the Python 3 version is needed instead, the command
2to3 -w .
must be run inside the uncertainties/ directory, so as to convert the
Python 2 version to the Python 3 version.
* The tests programs (test_*.py) are meant to be run through the Nose
testing framework. This can be achieved for instance with a command
like
nosetests -sv uncertainties/
or simply
nosetests uncertainties/
(for a less verbose output).