-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathINSTALLATION
60 lines (40 loc) · 1.45 KB
/
INSTALLATION
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
53
54
55
56
57
58
59
60
Installation instructions for PyCifRW v 5
-----------------------------------------
PyCifRW may be installed using Conda, Python pip,
or directly from source.
Using Conda
-----------
If you don't have conda install from either
Anaconda: https://docs.continuum.io/anaconda/install
or
miniconda: https://conda.io/docs/install/quick.html
Then,
conda install pycifrw -c conda-forge
Now skip to the "Checking the installation" section at
the end of this document.
Prerequisites for installation from pip or source
-------------------------------------------------
Python 3.7 or greater must already be installed. Self-installing
packages for Python (Windows and Mac) are available from
www.python.org. All Linux distributions come with Python included in
the base setup.
Use of the optional dREL functionality requires installation of PLY
(Python Lex Yacc):
pip install ply
and numpy
pip install numpy
Installation
------------
(All operating systems)
The latest version can be obtained from the Python Package Index:
pip install pycifrw
(From source)
1. Download and unpack the source distribution file PyCifRW-5.0.tar.gz
2. In directory PyCifRW-5.0, execute the command
python setup.py install
In Windows this can be accomplished by double-clicking
the setup.py icon.
Checking the installation
-------------------------
Start an interactive python interpreter. Type "import CifFile". If
this command is successful, installation is complete.