-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recut - update README for installation, issue templates, getting star…
…ted (#227) * Add workflow files and issues * Add py312 to pyproject * Update getting started, installation in readme * Add cookiecutter src init * Use existing version.py file * Fix preposition in readme * Add news * Reference online doc for manual instead * Use pdfgui instead of srmise in readme
- Loading branch information
Showing
8 changed files
with
109 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: Bug Report or Feature Request | ||
about: Report a bug or suggest a new feature! | ||
title: "" | ||
labels: "" | ||
assignees: "" | ||
--- | ||
|
||
### Problem | ||
|
||
<!-- | ||
For a bug report, please copy and paste any error messages from the application or command-line here. | ||
For a feature request, please state how the new functionality could benefit the community. | ||
--> | ||
|
||
### Proposed solution |
This file contains 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: Release | ||
about: Checklist and communication channel for PyPI and GitHub release | ||
title: "Ready for <version-number> PyPI/GitHub release" | ||
labels: "release" | ||
assignees: "" | ||
--- | ||
|
||
### Release checklist for GitHub contributors | ||
|
||
- [ ] All PRs/issues attached to the release are merged. | ||
- [ ] All the badges on the README are passing. | ||
- [ ] License information is verified as correct. If you are unsure, please comment below. | ||
- [ ] Locally rendered documentation contains all appropriate pages, including API references (check no modules are | ||
missing), tutorials, and other human written text is up-to-date with any changes in the code. | ||
- [ ] Installation instructions in the README, documentation and on the website (e.g., diffpy.org) are updated and | ||
tested | ||
- [ ] Successfully run any tutorial examples or do functional testing in some other way. | ||
- [ ] Grammar and writing quality have been checked (no typos). | ||
|
||
Please mention @sbillinge when you are ready for release. Include any additional comments necessary, such as | ||
version information and details about the pre-release. |
This file contains 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Release (GitHub/PyPI) | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- '*' # Trigger on all tags initially, but tag and release privilege are verified in _build-wheel-release-upload.yml | ||
|
||
jobs: | ||
release: | ||
uses: Billingegroup/release-scripts/.github/workflows/_build-wheel-release-upload.yml@v0 | ||
with: | ||
project: diffpy.pdfgui | ||
secrets: | ||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | ||
PAT_TOKEN: ${{ secrets.PAT_TOKEN }} |
This file contains 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
This file contains 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
**Added:** | ||
|
||
* <news item> | ||
|
||
**Changed:** | ||
|
||
* <news item> | ||
|
||
**Deprecated:** | ||
|
||
* <news item> | ||
|
||
**Removed:** | ||
|
||
* <news item> | ||
|
||
**Fixed:** | ||
|
||
* Re-cookiecut to include GH issues templates, getting started, and install updates | ||
|
||
**Security:** | ||
|
||
* <news item> |
This file contains 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
This file contains 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,27 +1,23 @@ | ||
#!/usr/bin/env python | ||
############################################################################## | ||
# | ||
# diffpy by DANSE Diffraction group | ||
# Simon J. L. Billinge | ||
# (c) 2008 trustees of the Michigan State University. | ||
# All rights reserved. | ||
# (c) 2024 The Trustees of Columbia University in the City of New York. | ||
# All rights reserved. | ||
# | ||
# File coded by: Pavol Juhas | ||
# File coded by: Billinge Group members and community contributors. | ||
# | ||
# See AUTHORS.txt for a list of people who contributed. | ||
# See LICENSE.txt for license information. | ||
# See GitHub contributions for a more detailed list of contributors. | ||
# https://github.com/diffpy/diffpy.pdfgui/graphs/contributors | ||
# | ||
# See LICENSE.rst for license information. | ||
# | ||
############################################################################## | ||
|
||
"""diffpy - tools for structure analysis by diffraction. | ||
Blank namespace package. | ||
""" | ||
"""Blank namespace package for module diffpy.""" | ||
|
||
|
||
from pkgutil import extend_path | ||
|
||
__path__ = extend_path(__path__, __name__) | ||
|
||
|
||
# End of file |
This file contains 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,25 +1,27 @@ | ||
#!/usr/bin/env python | ||
############################################################################## | ||
# | ||
# PDFgui by DANSE Diffraction group | ||
# Simon J. L. Billinge | ||
# (c) 2008 trustees of the Michigan State University. | ||
# All rights reserved. | ||
# (c) 2024 The Trustees of Columbia University in the City of New York. | ||
# All rights reserved. | ||
# | ||
# File coded by: Pavol Juhas | ||
# File coded by: Billinge Group members and community contributors. | ||
# | ||
# See AUTHORS.txt for a list of people who contributed. | ||
# See LICENSE.txt for license information. | ||
# See GitHub contributions for a more detailed list of contributors. | ||
# https://github.com/diffpy/diffpy.pdfgui/graphs/contributors | ||
# | ||
# See LICENSE.rst for license information. | ||
# | ||
############################################################################## | ||
|
||
"""Definition of __version__ and __date__.""" | ||
"""Definition of __version__.""" | ||
|
||
# We do not use the other three variables, but can be added back if needed. | ||
# __all__ = ["__date__", "__git_commit__", "__timestamp__", "__version__"] | ||
|
||
import os | ||
import time | ||
from importlib.metadata import distribution, version | ||
|
||
# obtain version information | ||
__date__ = time.ctime(os.path.getctime(distribution("diffpy.pdfgui")._path)) | ||
__version__ = version("diffpy.pdfgui") | ||
|
||
# End of file |