-
Notifications
You must be signed in to change notification settings - Fork 21
skpkg: add CHAGELOG.rst, README.rst, license, update pyproject.toml #150
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,6 +25,7 @@ | |
| :target: https://anaconda.org/conda-forge/diffpy.pdffit2 | ||
|
|
||
| .. |PR| image:: https://img.shields.io/badge/PR-Welcome-29ab47ff | ||
| :target: https://github.com/diffpy/diffpy.pdffit2/pulls | ||
|
|
||
| .. |PyPI| image:: https://img.shields.io/pypi/v/diffpy.pdffit2 | ||
| :target: https://pypi.org/project/diffpy.pdffit2/ | ||
|
|
@@ -78,11 +79,6 @@ If you use diffpy.pdffit2 in a scientific publication, we would like you to cite | |
| Installation | ||
| ------------ | ||
|
|
||
| diffpy.pdffit2 supports Python 3.11, 3.12, and 3.13. | ||
|
|
||
| Windows, macOS (non-Arm64), Linux | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
|
||
| The preferred method is to use `Miniconda Python | ||
| <https://docs.conda.io/projects/miniconda/en/latest/miniconda-install.html>`_ | ||
| and install from the "conda-forge" channel of Conda packages. | ||
|
|
@@ -97,34 +93,32 @@ The following creates and activates a new environment named ``diffpy.pdffit2_env | |
| conda create -n diffpy.pdffit2_env diffpy.pdffit2 | ||
| conda activate diffpy.pdffit2_env | ||
|
|
||
| To confirm that the installation was successful, type :: | ||
|
|
||
| python -c "import diffpy.pdffit2; print(diffpy.pdffit2.__version__)" | ||
|
|
||
| macOS (Arm64) | ||
| ~~~~~~~~~~~~~ | ||
| The output should print the latest version displayed on the badges above. | ||
|
|
||
| Create a new conda environment ``diffpy.pdffit2_env``: :: | ||
| If the above does not work, you can use ``pip`` to download and install the latest release from | ||
| `Python Package Index <https://pypi.python.org>`_. | ||
| To install using ``pip`` into your ``diffpy.pdffit2_env`` environment, type :: | ||
|
|
||
| conda create -n diffpy.pdffit2_env python=3.13 | ||
| pip install diffpy.pdffit2 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. instructions here need to be changed to be the same as the instructions in INSTRUCTIONS.txt I think
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should it be maintained as the original form of installation guide as before? I don't think we have a INSTRUCTIONS.txt in this package.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ah, you are right. I was getting confused. Yes, in that case keep it as it was before. I don't think anything changed. |
||
|
|
||
| Activate the environment: :: | ||
| If you prefer to install from sources, after installing the dependencies, obtain the source archive from | ||
| `GitHub <https://github.com/diffpy/diffpy.pdffit2/>`_. Once installed, ``cd`` into your ``diffpy.pdffit2`` directory | ||
| and run the following :: | ||
|
|
||
| conda activate diffpy.pdffit2_env | ||
| pip install . | ||
|
|
||
| Install pdffit2 using ``pip`` to download and install the latest version from `Python Package Index <https://pypi.python.org>`_: :: | ||
| This package also provides command-line utilities. To check the software has been installed correctly, type :: | ||
|
||
|
|
||
| pip install diffpy.pdffit2 | ||
| diffpy.pdffit2 --version | ||
|
|
||
| To confirm that the installation was successful, type :: | ||
| You can also type the following command to verify the installation. :: | ||
|
|
||
| python -c "import diffpy.pdffit2; print(diffpy.pdffit2.__version__)" | ||
|
|
||
| If you prefer to install from sources, after installing the dependencies, obtain the source archive from | ||
| `GitHub <https://github.com/diffpy/diffpy.pdffit2/>`_. Once installed, ``cd`` into your ``diffpy.pdffit2`` directory | ||
| and run the following :: | ||
|
|
||
| pip install . | ||
| To view the basic usage and available commands, type :: | ||
|
|
||
| diffpy.pdffit2 -h | ||
|
|
||
| Getting Started | ||
| --------------- | ||
|
|
@@ -170,7 +164,7 @@ trying to commit again. | |
|
|
||
| Improvements and fixes are always appreciated. | ||
|
|
||
| Before contributing, please read our `Code of Conduct <https://github.com/diffpy/diffpy.pdffit2/blob/main/CODE_OF_CONDUCT.rst>`_. | ||
| Before contributing, please read our `Code of Conduct <https://github.com/diffpy/diffpy.pdffit2/blob/main/CODE-OF-CONDUCT.rst>`_. | ||
|
|
||
| Contact | ||
| ------- | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to keep all of this. The changelog is updated at each release, by inserting new things at the top. So we need all of this legacy stuff.