File: install.rst

package info (click to toggle)
finalcif 154%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 53,284 kB
  • sloc: fortran: 148,126; python: 50,133; cpp: 67; sh: 51; makefile: 22
file content (38 lines) | stat: -rw-r--r-- 903 bytes parent folder | download | duplicates (2)
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
=============
Installation
=============

Windows
--------
Start the installer (FinalCif-setup-x64-vXX.exe) and click next until finished.

Linux
-----

Thanks to Andrius Merkys, Debian and Ubuntu have FinalCif in their official distribution.


Any System
----------

Alternatively, there is a pypi package for FinalCif:

Since version 118, there is a `pypi <https://pypi.org/project/finalcif>`_ package for installation in a Python environment.
Do the following steps in order to install and run FinalCif in any Python environment:

.. code-block::

    >> python -m venv venv        <-- creates a virtual environment
    >> source venv/bin/activate   (Windows: venv\Scripts\activate.bat)  <-- Activates the environment
    >> pip install finalcif
    >> finalcif

Next time, only

.. code-block::

    >> source venv/bin/activate   (Windows: venv\Scripts\activate.bat)
    >> finalcif

is necessary.