Skip to content

Commit 4debd5c

Browse files
committed
skpkg: migrate readme.rst
1 parent b756ca8 commit 4debd5c

File tree

1 file changed

+73
-21
lines changed

1 file changed

+73
-21
lines changed

README.rst

Lines changed: 73 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,88 @@
1-
dpx.confutils
2-
========================================================================
1+
|Icon| |title|_
2+
===============
33

4-
Package for processing configurations
4+
.. |title| replace:: diffpy.srxconfutils
5+
.. _title: https://diffpy.github.io/diffpy.srxconfutils
56

7+
.. |Icon| image:: https://avatars.githubusercontent.com/diffpy
8+
:target: https://diffpy.github.io/diffpy.srxconfutils
9+
:height: 100px
610

7-
REQUIREMENTS
8-
------------------------------------------------------------------------
11+
|PythonVersion| |PR|
912

10-
The dpx.confutils requires Python 2.7 and the following software:
13+
|Black| |Tracking|
1114

12-
* ``numpy``
13-
* ``traits``
15+
.. |Black| image:: https://img.shields.io/badge/code_style-black-black
16+
:target: https://github.com/psf/black
1417

18+
.. |PR| image:: https://img.shields.io/badge/PR-Welcome-29ab47ff
19+
:target: https://github.com/diffpy/diffpy.srxconfutils/pulls
1520

16-
INSTALLATION
17-
------------------------------------------------------------------------
21+
.. |PythonVersion| image:: https://img.shields.io/badge/python-3.11%20|%203.12%20|%203.13-blue
1822

19-
We are going to release conda package for all platform. For general user
20-
please use the installation file and install software. For developor,
21-
you can install dpx.confutils using
23+
.. |Tracking| image:: https://img.shields.io/badge/issue_tracking-github-blue
24+
:target: https://github.com/diffpy/diffpy.srxconfutils/issues
2225

23-
python setup.py install
26+
Configuration utilities for diffpy project. Part of xPDFsuite.
2427

25-
Note: the dependency is not specified in the setup.py. You need to install
26-
them yourself. You can use Anaconda or other python environment.
28+
* LONGER DESCRIPTION HERE
2729

30+
For more information about the diffpy.srxconfutils library, please consult our `online documentation <https://diffpy.github.io/diffpy.srxconfutils>`_.
2831

29-
CONTACTS
30-
------------------------------------------------------------------------
32+
Citation
33+
--------
3134

32-
For more information on diffpy.Structure please visit the project web-page
35+
If you use diffpy.srxconfutils in a scientific publication, we would like you to cite this package as
3336

34-
http://www.diffpy.org/
37+
diffpy.srxconfutils Package, https://github.com/diffpy/diffpy.srxconfutils
3538

36-
or email Prof. Simon Billinge at [email protected].
39+
Installation
40+
------------
41+
42+
Assuming you have a wheel file in the current working directory, in an active conda environment please type
43+
44+
pip install ./diffpy.srxconfutils-VERSION.whl
45+
46+
where you replace VERSION with the actual version you have so the command matches the filename of the
47+
wheel file you have.
48+
49+
The commands to create and activate the conda environment with name "conf-env" is
50+
51+
conda create -n conf-env python=3.13
52+
conda activate conf-env
53+
54+
If you don't have conda installed, we recomment you install `miniconda
55+
<https://docs.conda.io/projects/miniconda/en/latest/miniconda-install.html>`_
56+
To install this software from a Python wheel distribution format execute
57+
58+
pip install ./diffpy.srxconfutils-VERSION.whl
59+
60+
If you prefer to install from sources, after installing the dependencies, obtain the source archive from
61+
`GitHub <https://github.com/diffpy/diffpy.srxconfutils/>`_. Once installed, ``cd`` into your ``diffpy.srxconfutils`` directory
62+
and run the following ::
63+
64+
pip install .
65+
66+
This package also provides command-line utilities. To check the software has been installed correctly, type ::
67+
68+
diffpy.srxconfutils --version
69+
70+
You can also type the following command to verify the installation. ::
71+
72+
python -c "import diffpy.srxconfutils; print(diffpy.srxconfutils.__version__)"
73+
74+
75+
To view the basic usage and available commands, type ::
76+
77+
diffpy.srxconfutils -h
78+
79+
80+
Contact
81+
-------
82+
83+
For more information on diffpy.srxconfutils please visit the project `web-page <https://diffpy.github.io/>`_ or email Simon J.L. Billinge group at [email protected].
84+
85+
Acknowledgements
86+
----------------
87+
88+
``diffpy.srxconfutils`` is built and maintained with `scikit-package <https://scikit-package.github.io/scikit-package/>`_.

0 commit comments

Comments
 (0)