Skip to content

Commit 4a8000a

Browse files
committed
AUTHORS, CHANGELOG, COC, LICENSEs, README
1 parent 81b3c03 commit 4a8000a

9 files changed

+434
-291
lines changed

AUTHORS.rst

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Authors
2+
=======
3+
4+
Pavol Juhas,
5+
Chris Farrow,
6+
Simon J.L. Billinge
7+
8+
Contributors
9+
------------
10+
11+
For a list of contributors, visit
12+
https://github.com/diffpy/diffpy.srreal/graphs/contributors

AUTHORS.txt

-9
This file was deleted.

CHANGELOG.md

-41
This file was deleted.

CHANGELOG.rst

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
=============
2+
Release Notes
3+
=============
4+
5+
.. current developments
6+
7+
8+
Version 1.3.0 2019-03-13
9+
=========================
10+
11+
Main differences from version 1.2.
12+
13+
**Added:**
14+
15+
* Support for Python 3.7, 3.6, 3.5 in addition to 2.7.
16+
* Validation of compiler options from `python-config`.
17+
* Make scons scripts compatible with Python 3 and Python 2.
18+
* `ConstantPeakWidth` attributes `uisowidth`, `bisowidth` to ease
19+
PDF simulation with uniform isotropic atom displacements.
20+
21+
**Changed:**
22+
23+
* Require libdiffpy 1.4 or later.
24+
* Build Anaconda package with Anaconda C++ compiler.
25+
* Allow language standard c++11.
26+
* Pickle format for `PDFCalculator`, `DebyePDFCalculator`,
27+
`OverlapCalculator`, `PeakWidthModel`, `PeakProfile`, `PDFEnvelope`,
28+
`PDFBaseline`, and `ScatteringFactorTable` objects.
29+
30+
**Deprecated:**
31+
32+
* Variable `__gitsha__` in the `version` module renamed to `__git_commit__`.
33+
* `libdiffpy_version_info` attribute `git_sha` renamed to `git_commit`.
34+
35+
**Removed**
36+
37+
* Unused method `BVParam.__hash__`.
38+
* Disable pickling of `BasePairQuantity` as it is in effect abstract.
39+
* Pickling of Python-added attributes to exported C++ classes.
40+
* Function `get_libdiffpy_version_info` from the `version` module.
41+
42+
**Fixed**
43+
44+
* Return value conversion of `CrystalStructureAdapter` methods
45+
`expandLatticeAtom` and `getEquivalentAtoms` methods.
46+
Make them return a `list` of `Atom` objects.
47+
* Name suffix resolution of `boost_python` shared library.

CODE_OF_CONDUCT.rst

+133
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
=====================================
2+
Contributor Covenant Code of Conduct
3+
=====================================
4+
5+
Our Pledge
6+
----------
7+
8+
We as members, contributors, and leaders pledge to make participation in our
9+
community a harassment-free experience for everyone, regardless of age, body
10+
size, visible or invisible disability, ethnicity, sex characteristics, gender
11+
identity and expression, level of experience, education, socio-economic status,
12+
nationality, personal appearance, race, caste, color, religion, or sexual
13+
identity and orientation.
14+
15+
We pledge to act and interact in ways that contribute to an open, welcoming,
16+
diverse, inclusive, and healthy community.
17+
18+
Our Standards
19+
-------------
20+
21+
Examples of behavior that contributes to a positive environment for our
22+
community include:
23+
24+
* Demonstrating empathy and kindness toward other people
25+
* Being respectful of differing opinions, viewpoints, and experiences
26+
* Giving and gracefully accepting constructive feedback
27+
* Accepting responsibility and apologizing to those affected by our mistakes,
28+
and learning from the experience
29+
* Focusing on what is best not just for us as individuals, but for the overall
30+
community
31+
32+
Examples of unacceptable behavior include:
33+
34+
* The use of sexualized language or imagery, and sexual attention or advances of
35+
any kind
36+
* Trolling, insulting or derogatory comments, and personal or political attacks
37+
* Public or private harassment
38+
* Publishing others' private information, such as a physical or email address,
39+
without their explicit permission
40+
* Other conduct which could reasonably be considered inappropriate in a
41+
professional setting
42+
43+
Enforcement Responsibilities
44+
----------------------------
45+
46+
Community leaders are responsible for clarifying and enforcing our standards of
47+
acceptable behavior and will take appropriate and fair corrective action in
48+
response to any behavior that they deem inappropriate, threatening, offensive,
49+
or harmful.
50+
51+
Community leaders have the right and responsibility to remove, edit, or reject
52+
comments, commits, code, wiki edits, issues, and other contributions that are
53+
not aligned to this Code of Conduct, and will communicate reasons for moderation
54+
decisions when appropriate.
55+
56+
Scope
57+
-----
58+
59+
This Code of Conduct applies within all community spaces, and also applies when
60+
an individual is officially representing the community in public spaces.
61+
Examples of representing our community include using an official email address,
62+
posting via an official social media account, or acting as an appointed
63+
representative at an online or offline event.
64+
65+
Enforcement
66+
-----------
67+
68+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
69+
reported to the community leaders responsible for enforcement at
70+
[email protected]. All complaints will be reviewed and investigated promptly and fairly.
71+
72+
All community leaders are obligated to respect the privacy and security of the
73+
reporter of any incident.
74+
75+
Enforcement Guidelines
76+
----------------------
77+
78+
Community leaders will follow these Community Impact Guidelines in determining
79+
the consequences for any action they deem in violation of this Code of Conduct:
80+
81+
1. Correction
82+
****************
83+
84+
**Community Impact**: Use of inappropriate language or other behavior deemed
85+
unprofessional or unwelcome in the community.
86+
87+
**Consequence**: A private, written warning from community leaders, providing
88+
clarity around the nature of the violation and an explanation of why the
89+
behavior was inappropriate. A public apology may be requested.
90+
91+
2. Warning
92+
*************
93+
94+
**Community Impact**: A violation through a single incident or series of
95+
actions.
96+
97+
**Consequence**: A warning with consequences for continued behavior. No
98+
interaction with the people involved, including unsolicited interaction with
99+
those enforcing the Code of Conduct, for a specified period of time. This
100+
includes avoiding interactions in community spaces as well as external channels
101+
like social media. Violating these terms may lead to a temporary or permanent
102+
ban.
103+
104+
3. Temporary Ban
105+
******************
106+
107+
**Community Impact**: A serious violation of community standards, including
108+
sustained inappropriate behavior.
109+
110+
**Consequence**: A temporary ban from any sort of interaction or public
111+
communication with the community for a specified period of time. No public or
112+
private interaction with the people involved, including unsolicited interaction
113+
with those enforcing the Code of Conduct, is allowed during this period.
114+
Violating these terms may lead to a permanent ban.
115+
116+
4. Permanent Ban
117+
******************
118+
119+
**Community Impact**: Demonstrating a pattern of violation of community
120+
standards, including sustained inappropriate behavior, harassment of an
121+
individual, or aggression toward or disparagement of classes of individuals.
122+
123+
**Consequence**: A permanent ban from any sort of public interaction within the
124+
community.
125+
126+
Attribution
127+
-----------
128+
129+
This Code of Conduct is adapted from the `Contributor Covenant <https://www.contributor-covenant.org/version/2/1/code_of_conduct.html>`_.
130+
131+
Community Impact Guidelines were inspired by `Mozilla's code of conduct enforcement ladder <https://github.com/mozilla/inclusion>`_.
132+
133+
For answers to common questions about this code of conduct, see the `FAQ <https://www.contributor-covenant.org/faq>`_. `Translations are available <https://www.contributor-covenant.org/translations>`_

LICENSE.rst

+142
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
OPEN SOURCE LICENSE AGREEMENT
2+
=============================
3+
4+
Copyright (c) 2009-2011, University of Tennessee
5+
6+
Copyright (c) 1989, 1991 Free Software Foundation, Inc.
7+
8+
Copyright (c) 2006, The Regents of the University of California through Lawrence Berkeley National Laboratory
9+
10+
Copyright (c) 2014, Australian Synchrotron Research Program Inc., ("ASRP")
11+
12+
Copyright (c) 2006-2007, Board of Trustees of Michigan State University
13+
14+
Copyright (c) 2008-2012, The Trustees of Columbia University in the City of New York
15+
16+
Copyright (c) 2014-2019, Brookhaven Science Associates, Brookhaven National Laboratory
17+
18+
Copyright (c) 2024, The Trustees of Columbia University in the City of New York.
19+
All rights reserved.
20+
21+
The "DiffPy-CMI" is distributed subject to the following license conditions:
22+
23+
.. code-block:: text
24+
25+
SOFTWARE LICENSE AGREEMENT
26+
27+
Software: DiffPy-CMI
28+
29+
30+
(1) The "Software", below, refers to the aforementioned DiffPy-CMI (in either
31+
source code, or binary form and accompanying documentation).
32+
33+
Part of the software was derived from the DANSE, ObjCryst++ (with permission),
34+
PyCifRW, Python periodictable, CCTBX, and SasView open source projects, of
35+
which the original Copyrights are contained in each individual file.
36+
37+
Each licensee is addressed as "you" or "Licensee."
38+
39+
40+
(2) The copyright holders shown above and their third-party Licensors hereby
41+
grant licensee a royalty-free nonexclusive license, subject to the limitations
42+
stated herein and U.S. Government license rights.
43+
44+
45+
(3) You may modify and make a copy or copies of the software for use within
46+
your organization, if you meet the following conditions:
47+
48+
(a) Copies in source code must include the copyright notice and this
49+
software license agreement.
50+
51+
(b) Copies in binary form must include the copyright notice and this
52+
Software License Agreement in the documentation and/or other materials
53+
provided with the copy.
54+
55+
56+
(4) You may modify a copy or copies of the Software or any portion of it, thus
57+
forming a work based on the Software, and distribute copies of such work
58+
outside your organization, if you meet all of the following conditions:
59+
60+
(a) Copies in source code must include the copyright notice and this
61+
Software License Agreement;
62+
63+
(b) Copies in binary form must include the copyright notice and this
64+
Software License Agreement in the documentation and/or other materials
65+
provided with the copy;
66+
67+
(c) Modified copies and works based on the Software must carry prominent
68+
notices stating that you changed specified portions of the Software.
69+
70+
(d) Neither the name of Brookhaven Science Associates or Brookhaven
71+
National Laboratory nor the names of its contributors may be used to
72+
endorse or promote products derived from this software without specific
73+
written permission.
74+
75+
76+
(5) Portions of the Software resulted from work developed under a U.S.
77+
Government contract and are subject to the following license:
78+
The Government is granted for itself and others acting on its behalf a
79+
paid-up, nonexclusive, irrevocable worldwide license in this computer software
80+
to reproduce, prepare derivative works, and perform publicly and display
81+
publicly.
82+
83+
84+
(6) WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT
85+
WARRANTY OF ANY KIND. THE COPYRIGHT HOLDERS, THEIR THIRD PARTY
86+
LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND
87+
THEIR EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
88+
BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
89+
PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, (2) DO NOT ASSUME ANY LEGAL
90+
LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF
91+
THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF THE SOFTWARE WOULD NOT INFRINGE
92+
PRIVATELY OWNED RIGHTS, (4) DO NOT WARRANT THAT THE SOFTWARE WILL FUNCTION
93+
UNINTERRUPTED, THAT IT IS ERROR-FREE OR THAT ANY ERRORS WILL BE CORRECTED.
94+
95+
96+
(7) LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT HOLDERS, THEIR
97+
THIRD PARTY LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF
98+
ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
99+
CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF ANY KIND OR NATURE, INCLUDING
100+
BUT NOT LIMITED TO LOSS OF PROFITS OR LOSS OF DATA, FOR ANY REASON WHATSOEVER,
101+
WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF CONTRACT, TORT (INCLUDING
102+
NEGLIGENCE OR STRICT LIABILITY), OR OTHERWISE, EVEN IF ANY OF SAID PARTIES HAS
103+
BEEN WARNED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGES.
104+
105+
106+
Brookhaven National Laboratory Notice
107+
=====================================
108+
109+
Acknowledgment of sponsorship
110+
-----------------------------
111+
112+
This software was produced by the Brookhaven National Laboratory, under
113+
Contract DE-AC02-98CH10886 with the Department of Energy.
114+
115+
116+
Government disclaimer of liability
117+
----------------------------------
118+
119+
Neither the United States nor the United States Department of Energy, nor
120+
any of their employees, makes any warranty, express or implied, or assumes
121+
any legal liability or responsibility for the accuracy, completeness, or
122+
usefulness of any data, apparatus, product, or process disclosed, or
123+
represents that its use would not infringe privately owned rights.
124+
125+
126+
Brookhaven disclaimer of liability
127+
----------------------------------
128+
129+
Brookhaven National Laboratory makes no representations or warranties,
130+
express or implied, nor assumes any liability for the use of this software.
131+
132+
133+
Maintenance of notice
134+
---------------------
135+
136+
In the interest of clarity regarding the origin and status of this
137+
software, Brookhaven National Laboratory requests that any recipient of it
138+
maintain this notice affixed to any distribution by the recipient that
139+
contains a copy or derivative of this software.
140+
141+
142+
END OF LICENSE

0 commit comments

Comments
 (0)