Skip to content

Commit 8704874

Browse files
authored
Merge pull request #105 from bobleesj/recut
Re-cookiecut
2 parents 6397c70 + 866aa7d commit 8704874

23 files changed

+242
-377
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/check-news-item.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Check for News
2+
3+
on:
4+
pull_request_target:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
uses: Billingegroup/release-scripts/.github/workflows/_check-news-item.yml@v0
11+
with:
12+
project: diffpy.structure

.github/workflows/codecov.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

.github/workflows/docs.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
release:
8+
types:
9+
- prereleased
10+
- published
11+
workflow_dispatch: null
12+
13+
jobs:
14+
coverage:
15+
uses: Billingegroup/release-scripts/.github/workflows/_matrix-and-codecov-on-merge-to-main.yml@v0
16+
with:
17+
project: diffpy.structure
18+
c_extension: false
19+
headless: false
20+
secrets:
21+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Build and Deploy Docs
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
workflow_dispatch:
8+
9+
jobs:
10+
docs:
11+
uses: Billingegroup/release-scripts/.github/workflows/_publish-docs-on-release.yml@v0
12+
with:
13+
project: diffpy.structure
14+
c_extension: false

.github/workflows/tests-on-pr.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Tests on PR
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
workflow_dispatch:
9+
10+
jobs:
11+
validate:
12+
uses: Billingegroup/release-scripts/.github/workflows/_tests-on-pr.yml@v0
13+
with:
14+
project: diffpy.structure
15+
c_extension: false
16+
headless: false

.pre-commit-config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ repos:
1616
- id: check-yaml
1717
- id: end-of-file-fixer
1818
- id: trailing-whitespace
19-
exclude: '\.(rst|txt)$'
19+
- id: check-case-conflict
20+
- id: check-merge-conflict
21+
- id: check-toml
22+
- id: check-added-large-files
2023
- repo: https://github.com/psf/black
2124
rev: 24.4.2
2225
hooks:

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Authors
22
=======
33

4+
Billinge Group and community contributors,
45
Pavol Juhas,
56
Christopher L. Farrow,
67
Xiaohao Yang,

LICENSE.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Copyright (c) 2014, Australian Synchrotron Research Program Inc., ("ASRP")
1515

1616
Copyright (c) 2014-2019, Brookhaven Science Associates, Brookhaven National Laboratory
1717

18-
Copyright (c) 2024, The Trustees of Columbia University in the City of New York.
18+
Copyright (c) 2024, The Trustees of Columbia University in the City of New York.
1919
All rights reserved.
2020

2121
The "DiffPy-CMI" is distributed subject to the following license conditions:

LICENSE_DANSE.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ Copyright 2006-2007, Board of Trustees of Michigan State University,
99
Copyright 2008-2012, The Trustees of Columbia University in the
1010
City of New York. (Copyright holder indicated in each source file).
1111

12-
Copyright (c) 2024, The Trustees of Columbia University in the City of New York.
12+
Copyright (c) 2024, The Trustees of Columbia University in the City of New York.
1313
All rights reserved.
1414

1515
For more information please visit the project web-page:
1616

1717
http://www.diffpy.org/
18-
18+
1919
or email Prof. Simon Billinge at [email protected]
2020

2121
Redistribution and use in source and binary forms, with or without

LICENSE_pymmlib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. code-block:: text
2-
2+
33
The Artistic License 2.0
44
55
Copyright (c) 2000-2006, The Perl Foundation.

README.rst

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
.. |Black| image:: https://img.shields.io/badge/code_style-black-black
1616
:target: https://github.com/psf/black
1717

18-
.. |CI| image:: https://github.com/diffpy/diffpy.structure/actions/workflows/main.yml/badge.svg
19-
:target: https://github.com/diffpy/diffpy.structure/actions/workflows/main.yml
18+
.. |CI| image:: https://github.com/diffpy/diffpy.structure/actions/workflows/matrix-and-codecov-on-merge-to-main.yml/badge.svg
19+
:target: https://github.com/diffpy/diffpy.structure/actions/workflows/matrix-and-codecov-on-merge-to-main.yml
2020

2121
.. |Codecov| image:: https://codecov.io/gh/diffpy/diffpy.structure/branch/main/graph/badge.svg
2222
:target: https://codecov.io/gh/diffpy/diffpy.structure
@@ -47,6 +47,7 @@ of symmetry constraints for atom positions and displacement parameters.
4747
diffpy.structure includes definitions of all space groups in over 500
4848
symmetry settings.
4949

50+
5051
For more information about the diffpy.structure library, please consult our `online documentation <https://diffpy.github.io/diffpy.structure>`_.
5152

5253
Citation
@@ -86,11 +87,7 @@ Then, to fully install ``diffpy.structure`` in our active environment, run ::
8687

8788
Another option is to use ``pip`` to download and install the latest release from
8889
`Python Package Index <https://pypi.python.org>`_.
89-
To install using ``pip`` into your ``diffpy.structure_env`` environment, we will also have to install dependencies ::
90-
91-
pip install -r https://raw.githubusercontent.com/diffpy/diffpy.structure/main/requirements/run.txt
92-
93-
and then install the package ::
90+
To install using ``pip`` into your ``diffpy.structure_env`` environment, type ::
9491

9592
pip install diffpy.structure
9693

@@ -105,7 +102,7 @@ Support and Contribute
105102

106103
`Diffpy user group <https://groups.google.com/g/diffpy-users>`_ is the discussion forum for general questions and discussions about the use of diffpy.structure. Please join the diffpy.structure users community by joining the Google group. The diffpy.structure project welcomes your expertise and enthusiasm!
107104

108-
If you see a bug or want to request a feature, please `report it as an issue <https://github.com/diffpy/diffpy.structure/issues>`_ and/or `submit a fix as a PR <https://github.com/diffpy/diffpy.structure/pulls>`_. You can also post it to the `Diffpy user group <https://groups.google.com/g/diffpy-users>`_.
105+
If you see a bug or want to request a feature, please `report it as an issue <https://github.com/diffpy/diffpy.structure/issues>`_ and/or `submit a fix as a PR <https://github.com/diffpy/diffpy.structure/pulls>`_. You can also post it to the `Diffpy user group <https://groups.google.com/g/diffpy-users>`_.
109106

110107
Feel free to fork the project and contribute. To install diffpy.structure
111108
in a development mode, with its sources being directly used by Python

devutils/makesdist

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)