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
|
spglib
======
|Version Badge| |Downloads Badge| |PyPi downloads| |Build Status|
Python bindings for C library for finding and handling crystal
symmetries
Installation
------------
The package is developed on github. You can get the source for the
released versions from the
`repository <https://github.com/atztogo/spglib/releases>`__.
Using package distribution service
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The easiest way to install python-spglib is to use the pypi package, for
which numpy is required to be installed before the installation. A
command to install spglib is:
::
pip install spglib
Conda is another choice:
::
conda install -c atztogo spglib
These packages are made by Paweł T. Jochym.
Building using setup.py
~~~~~~~~~~~~~~~~~~~~~~~
To manually install python-spglib using ``setup.py``, python header
files (python-dev), C-compiler (e.g., gcc, clang), and numpy are
required before the build. The installation steps are shown as follows:
1. Go to the python directory
2. Type the command:
::
python setup.py install --user
.. |Version Badge| image:: https://anaconda.org/atztogo/spglib/badges/version.svg
:target: https://anaconda.org/atztogo/spglib
.. |Downloads Badge| image:: https://anaconda.org/atztogo/spglib/badges/downloads.svg
:target: https://anaconda.org/atztogo/spglib
.. |PyPi downloads| image:: https://img.shields.io/pypi/dm/spglib.svg?maxAge=2592000
:target: https://pypi.python.org/pypi/spglib
.. |Build Status| image:: https://travis-ci.org/atztogo/spglib.svg?branch=master
:target: https://travis-ci.org/atztogo/spglib
|