-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
53 lines (36 loc) · 2.01 KB
/
README.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
40
41
42
43
44
45
46
47
48
49
50
51
52
The matter package provides simple matter structure operations
such as calculations of distances or angles from fractional coordinates.
It also provides imports and exports in several structure file formats
and space group definitions and utilities for symmetry expansion.
REQUIREMENTS
This packages requires Python 2.5 and the following external software:
setuptools -- software distribution tools for Python
numpy -- numerical mathematics and fast array operations for Python
On Ubuntu Linux the required software can be easily installed using
the system package manager:
sudo aptitude install \
python-setuptools python-numpy
For other Linux distributions use their respective package manager; note
the packages may have slightly different names. matter should work
on other Unix-like operating systems and on Mac as well. Please, search the
web for instructions how to install external dependencies on your particular
system.
INSTALLATION
To install the matter package:
python setup.py install
By default the files are installed in the system directories, which are
usually only writeable by the root. See the usage info
"./setup.py install --help" for options to install as a normal user under
different location. Note that installation to non-standard directories you may
require adjustments to the PATH and PYTHONPATH environment variables.
Note: Make.mm files are included but are not currently being maintained...
The Python setuptools library provides "easy_install" script, which can
be used to update diffpy.Structure installation or even to perform a new
install without explicit need to download and unzip the code:
easy_install -U matter
This checks the package repository at http://www.diffpy.org/packages/
for any newer releases of diffpy.Structure and if present, it updates the
installation. The easy_install can be also used to get in sync with the
latest development sources in the subversion repository:
easy_install -U \
svn://svn@danse.us/inelastic/crystal/trunk