Skip to content

Commit cbff1ff

Browse files
committed
Adding meta.py
1 parent aa0dc89 commit cbff1ff

3 files changed

Lines changed: 23 additions & 17 deletions

File tree

odmtools/controller/frmAbout.py

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,7 @@ def __init__(self, parent):
1414
info.Description = wordwrap(data.description, 350, ClientDC(parent))
1515
info.WebSite = data.website
1616
info.Developers = data.developers
17-
1817
info.License = wordwrap(data.license, 500, ClientDC(parent))
19-
2018
# Then we call wx.AboutBox giving it that info object
2119
AboutBox(info)
22-
23-
24-
#self.ShowModal()
25-
26-
27-
28-
licenseText = "This material is copyright (c) 2013 - 2015 Utah State University." \
29-
"\nIt is open and licensed under the New Berkeley Software Distribution (BSD) License. Full text of the license follows." \
30-
"\nCopyright (c) 2013, Utah State University. All rights reserved." \
31-
"\nRedistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:" \
32-
"\n Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer." \
33-
"\n Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution." \
34-
"\n Neither the name of Utah State University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission." \
35-
"\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. "
36-
20+
#self.ShowModal()

odmtools/meta/__init__.py

Whitespace-only changes.

odmtools/meta/data.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
app_name = "ODMTools"
2+
version = "1.2.0_Beta"
3+
copyright = "Copyright (c) 2013 - 2015, Utah State University. All rights reserved."
4+
description = "ODMTools is a python application for managing observational data using the Observations Data Model. " \
5+
"ODMTools allows you to query, visualize, and edit data stored in an Observations Data Model (ODM) database." \
6+
" ODMTools was originally developed as part of the CUAHSI Hydrologic Information System."
7+
8+
developers = ["Jeffery S. Horsburgh", "Amber Spackman Jones",
9+
"Stephanie L. Reeder", "Jacob Meline", "James Patton"]
10+
11+
license = "This material is copyright (c) 2013 - 2015 Utah State University." \
12+
"\nIt is open and licensed under the New Berkeley Software Distribution (BSD) License. Full text of the license follows." \
13+
"\nCopyright (c) 2013, Utah State University. All rights reserved." \
14+
"\nRedistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:" \
15+
"\n Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer." \
16+
"\n Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution." \
17+
"\n Neither the name of Utah State University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission." \
18+
"\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. "
19+
20+
21+
website = ("http://uchic.github.io/ODMToolsPython/", "ODMTools home page")
22+

0 commit comments

Comments
 (0)