-
Notifications
You must be signed in to change notification settings - Fork 3
skpkg: migrate README.rst #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,36 +1,103 @@ | ||
| dpx.confutils | ||
| ======================================================================== | ||
| |Icon| |title|_ | ||
| =============== | ||
|
|
||
| Package for processing configurations | ||
| .. |title| replace:: diffpy.srxconfutils | ||
| .. _title: https://diffpy.github.io/diffpy.srxconfutils | ||
|
|
||
| .. |Icon| image:: https://avatars.githubusercontent.com/diffpy | ||
| :target: https://diffpy.github.io/diffpy.srxconfutils | ||
| :height: 100px | ||
|
|
||
| REQUIREMENTS | ||
| ------------------------------------------------------------------------ | ||
| |PythonVersion| |PR| | ||
|
|
||
| The dpx.confutils requires Python 2.7 and the following software: | ||
| |Black| |Tracking| | ||
|
|
||
| * ``numpy`` | ||
| * ``traits`` | ||
| .. |Black| image:: https://img.shields.io/badge/code_style-black-black | ||
| :target: https://github.com/psf/black | ||
|
|
||
| .. |PR| image:: https://img.shields.io/badge/PR-Welcome-29ab47ff | ||
| :target: https://github.com/diffpy/diffpy.srxconfutils/pulls | ||
|
|
||
| INSTALLATION | ||
| ------------------------------------------------------------------------ | ||
| .. |PythonVersion| image:: https://img.shields.io/badge/python-3.11%20|%203.12%20|%203.13-blue | ||
|
|
||
| We are going to release conda package for all platform. For general user | ||
| please use the installation file and install software. For developor, | ||
| you can install dpx.confutils using | ||
| .. |Tracking| image:: https://img.shields.io/badge/issue_tracking-github-blue | ||
| :target: https://github.com/diffpy/diffpy.srxconfutils/issues | ||
|
|
||
| python setup.py install | ||
| Configuration utilities for diffpy project. Part of xPDFsuite. | ||
|
|
||
| Note: the dependency is not specified in the setup.py. You need to install | ||
| them yourself. You can use Anaconda or other python environment. | ||
| For more information about the diffpy.srxconfutils library, please consult our `online documentation <https://diffpy.github.io/diffpy.srxconfutils>`_. | ||
|
|
||
| Citation | ||
| -------- | ||
|
|
||
| CONTACTS | ||
| ------------------------------------------------------------------------ | ||
| If you use diffpy.srxconfutils in a scientific publication, we would like you to cite this package as | ||
|
|
||
| For more information on diffpy.Structure please visit the project web-page | ||
| Xiaohao Yang, Pavol Juhas, Christopher L. Farrow and Simon J. L. Billinge, xPDFsuite: an end-to-end | ||
| software solution for high throughput pair distribution function transformation, visualization and | ||
| analysis, arXiv 1402.3163 (2014) | ||
|
|
||
| http://www.diffpy.org/ | ||
| Installation | ||
| ------------ | ||
| ``diffpy.srxconfutils`` is normally installed as part of the ``xpdfsuite`` software, so please refer to the | ||
| installation instructions detailed in the ``README.rst`` file of ``xpdfsuite`` `here <https://github.com/diffpy/diffpy.xpdfsuite/blob/main/README.rst>`_. | ||
|
|
||
| or email Prof. Simon Billinge at sb2896@columbia.edu. | ||
| Independent Installation | ||
| ------------------------ | ||
| You can also install ``diffpy.srxconfutils`` independently for yourself. | ||
|
|
||
| Assuming you have a wheel file in the current working directory, in an active conda environment please type | ||
|
|
||
| pip install ./diffpy.srxconfutils-VERSION.whl | ||
|
|
||
| where you replace VERSION with the actual version you have so the command matches the filename of the | ||
| wheel file you have. | ||
|
|
||
| The commands to create and activate the conda environment with name "conf-env" is | ||
|
|
||
| conda create -n conf-env python=3.13 | ||
| conda activate conf-env | ||
|
|
||
| If you don't have conda installed, we recomment you install `miniconda | ||
| <https://docs.conda.io/projects/miniconda/en/latest/miniconda-install.html>`_ | ||
| To install this software from a Python wheel distribution format execute | ||
|
|
||
| pip install ./diffpy.srxconfutils-VERSION.whl | ||
|
|
||
| If you are a developer, you can also install this package from sources. First, obtain the source archive | ||
| from `GitHub <https://github.com/diffpy/diffpy.srxconfutils/>`_. | ||
| Install the packages in ``./requirements/conda.txt`` and ``./requirements/tests.txt`` | ||
| using the `--file`` command: | ||
|
|
||
| conda activate conf-env | ||
| conda install --file ./requirements/conda.txt | ||
| conda install --file ./requirements/tests.txt | ||
| pip install -e . # assuming you are in the top level directory of the package | ||
|
|
||
| After installing the dependencies, ``cd`` into your ``diffpy.srxconfutils`` directory | ||
| and run the following :: | ||
|
|
||
| pip install . | ||
|
|
||
| This package also provides command-line utilities. To check the software has been installed correctly, type :: | ||
|
|
||
| diffpy.srxconfutils --version | ||
|
|
||
| You can also type the following command to verify the installation. :: | ||
|
|
||
| python -c "import diffpy.srxconfutils; print(diffpy.srxconfutils.__version__)" | ||
|
|
||
|
|
||
| To view the basic usage and available commands, type :: | ||
|
|
||
| diffpy.srxconfutils -h | ||
|
|
||
|
|
||
| Contact | ||
| ------- | ||
|
|
||
| For more information on diffpy.srxconfutils please visit the project `web-page <https://diffpy.github.io/>`_ or email Simon J.L. Billinge group at sb2896@columbia.edu. | ||
|
|
||
| Acknowledgements | ||
| ---------------- | ||
|
|
||
| ``diffpy.srxconfutils`` is built and maintained with `scikit-package <https://scikit-package.github.io/scikit-package/>`_. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.