Skip to content

Commit 81bac08

Browse files
committed
chore: licenses and manifest
1 parent 3580b81 commit 81bac08

File tree

3 files changed

+174
-29
lines changed

3 files changed

+174
-29
lines changed

LICENSE.rst

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

LICENSE_DANSE.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
This program is part of the DiffPy and DANSE open-source projects at Columbia
2+
University and is available subject to the conditions and terms laid out below.
3+
4+
Copyright (c) 2008-2011, The Trustees of Columbia University in
5+
the City of New York. All rights reserved.
6+
7+
For more information please visit the diffpy web-page at
8+
http://www.diffpy.org
9+
or email Prof. Simon Billinge at [email protected].
10+
11+
Redistribution and use in source and binary forms, with or without
12+
modification, are permitted provided that the following conditions are met:
13+
14+
* Redistributions of source code must retain the above copyright notice, this
15+
list of conditions and the following disclaimer.
16+
17+
* Redistributions in binary form must reproduce the above copyright notice,
18+
this list of conditions and the following disclaimer in the documentation
19+
and/or other materials provided with the distribution.
20+
21+
* Neither the names of COLUMBIA UNIVERSITY, MICHIGAN STATE UNIVERSITY nor the
22+
names of their contributors may be used to endorse or promote products
23+
derived from this software without specific prior written permission.
24+
25+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
26+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
27+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
29+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
30+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
31+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
32+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
33+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ global-exclude .DS_Store # Exclude Mac filesystem artifacts.
1010
global-exclude __pycache__ # Exclude Python cache directories.
1111
global-exclude .git* # Exclude git files and directories.
1212
global-exclude .idea # Exclude PyCharm project settings.
13+
exclude .codecov.yml
14+
exclude .coveragerc

0 commit comments

Comments
 (0)