Skip to content

Commit 13f1a28

Browse files
committed
Added license/credits and cleanup repository.
1 parent 9309bd7 commit 13f1a28

File tree

12 files changed

+149
-318
lines changed

12 files changed

+149
-318
lines changed

.pre-commit-config.yaml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
1-
# Copyright (c) 2019 Shotgun Software Inc.
2-
#
3-
# CONFIDENTIAL AND PROPRIETARY
4-
#
5-
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
6-
# Source Code License included in this distribution package. See LICENSE.
7-
# By accessing, using, copying or modifying this work you indicate your
8-
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
9-
# not expressly granted therein are reserved by Shotgun Software Inc.
1+
# MIT License
2+
3+
# Copyright (c) 2021 Netherlands Film Academy
4+
5+
# Permission is hereby granted, free of charge, to any person obtaining a copy
6+
# of this software and associated documentation files (the "Software"), to deal
7+
# in the Software without restriction, including without limitation the rights
8+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
# copies of the Software, and to permit persons to whom the Software is
10+
# furnished to do so, subject to the following conditions:
11+
12+
# The above copyright notice and this permission notice shall be included in all
13+
# copies or substantial portions of the Software.
14+
15+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
# SOFTWARE.
1022

1123
# Styles the code properly
1224
# Exclude the UI files, as they are auto-generated.

LICENSE

Lines changed: 21 additions & 146 deletions
Original file line numberDiff line numberDiff line change
@@ -1,146 +1,21 @@
1-
SHOTGUN PIPELINE TOOLKIT SOURCE CODE LICENSE
2-
3-
Version: 7/07/2013
4-
5-
Shotgun Software Inc. ("Company") provides the Shotgun Pipeline Toolkit,
6-
software, including source code, in this package or repository folder (the
7-
"Shotgun Toolkit Code") subject to your acceptance of and compliance with
8-
the following terms and conditions (the "License Terms"). By accessing,
9-
downloading, copying, using or modifying any of the Shotgun Toolkit Code,
10-
you agree to these License Terms.
11-
12-
Eligibility
13-
14-
The following license to the Shotgun Toolkit Code is valid only if and while
15-
you are a customer of Company in good standing with either: (a) a current,
16-
paid-up (or free-for-evaluation) subscription or fixed-term license for
17-
Company's Shotgun Platform; or (b) a perpetual license and current, paid-up
18-
maintenance and support contract for the Shotgun Platform.
19-
20-
Shotgun Toolkit Code License
21-
22-
Subject to the eligibility criteria above and your compliance with these
23-
License Terms, Company grants to you a non-exclusive, limited license to
24-
reproduce, use, and make derivative works of (including by compiling object
25-
code versions of) the Shotgun Toolkit Code solely for your non-commercial or
26-
internal business purposes in connection with your authorized use of the
27-
Shotgun Platform.
28-
29-
Company reserves all rights in the Shotgun Toolkit Code not expressly granted
30-
above. These License Terms do not grant or require Company to grant, by
31-
implication, estoppel, or otherwise, any other licenses or rights with respect
32-
to the Shotgun Toolkit Code or any of Company's other software or intellectual
33-
property rights. You agree not to take any action with respect to the Shotgun
34-
Toolkit Code that is not expressly authorized above.
35-
36-
You must keep intact (and, in the case of copies, reproduce) all copyright
37-
and other proprietary notices, including all references to and copies of these
38-
License Terms, as originally included on, in, or with the Shotgun Toolkit
39-
Code. You must ensure that all derivative works you make of the Shotgun
40-
Toolkit Code contain or are accompanied by comparable and conspicuous notices
41-
that the underlying Shotgun Toolkit Code is the confidential information of
42-
Company and is subject to Company's copyrights and these License Terms.
43-
44-
No Redistribution or Disclosure
45-
46-
You acknowledge that the Shotgun Toolkit Code is and contains proprietary and
47-
trade-secret information of Company. You may not distribute, disclose to any
48-
third party, operate for the benefit of third parties (for example, on a
49-
hosted basis), or otherwise commercially exploit the Shotgun Toolkit Code or
50-
any portion or derivative work thereof without Company's separate and express
51-
written consent. For purposes of this restriction, third parties do not
52-
include your employees or agents acting on your behalf who are bound to abide
53-
by these License Terms.
54-
55-
No Warranties or Support
56-
57-
The Shotgun Toolkit Code is provided "AS IS" and with all faults. Company
58-
makes no warranties whatsoever, whether express, implied, or otherwise,
59-
concerning the Shotgun Toolkit Code. Company has no obligation to provide
60-
maintenance or technical support for the Shotgun Toolkit Code (unless
61-
otherwise expressly agreed in a separate written agreement between you and
62-
Company).
63-
64-
Liability
65-
66-
You agree to be solely responsible for your use and modifications of the
67-
Shotgun Toolkit Code, and for any harm or liability arising out of such use
68-
or modifications, including but not limited to any liability for infringement
69-
of third-party intellectual property rights.
70-
71-
To the fullest extent permitted under applicable law, you agree that: (a)
72-
Company will not be liable under these License Terms or otherwise for any
73-
direct, indirect, incidental, special, consequential, or exemplary damages,
74-
including but not limited to damages for loss of profits, goodwill, use, data
75-
or other intangible losses, in relation to the Shotgun Toolkit Code or your
76-
use or inability to use the Shotgun Toolkit Code, even if Company has been
77-
advised of the possibility of such damages; and (b) in any event, Company's
78-
aggregate liability under these License Terms or in connection with the
79-
Shotgun Toolkit Code, regardless of the form of action and under any theory
80-
(whether in contract, tort, statutory, or otherwise), will not exceed the
81-
greater of $50 or the amount (if any) that you actually paid for access to
82-
the Shotgun Toolkit Code.
83-
84-
Ownership
85-
86-
Company retains sole and exclusive ownership of the Shotgun Toolkit Code and
87-
all copyright and other intellectual property rights therein. You will own any
88-
derivative works you make to the Shotgun Toolkit Code, subject to: (a) the
89-
preceding sentence; and (b) the provisions below regarding ownership of any
90-
code you elect to contribute to Company.
91-
92-
Contributions
93-
94-
The following terms apply to any derivative works of the Shotgun Toolkit Code
95-
(or any other materials) that you choose to contribute to Company.
96-
97-
For good and valuable consideration, receipt of which is acknowledged, you
98-
hereby transfer and assign to Company your entire right, title, and interest
99-
(including all rights under copyright) in: (a) any software code,
100-
documentation, and/or other materials that you deliver to Company for
101-
inclusion in, improvement of, use with, or documentation of Company's software
102-
program(s), including but not limited to any code, documentation, and/or other
103-
materials identified in a contribution form you submit to Company in an
104-
applicable form designated by Company; and (b) any future revisions of such
105-
code, documentation, and/or other materials that you make hereafter. The code,
106-
documentation, other materials, and future revisions described above are
107-
collectively referred to below as the "Contribution."
108-
109-
As used below, the "Company Programs" means and includes the Company software
110-
program(s) identified on any contribution form you submit to Company, and any
111-
other software into which Company incorporates or with which Company uses or
112-
distributes the Contribution or any version or portion thereof.
113-
114-
Company grants you a non-exclusive right to continue to modify, make
115-
derivative works of, reproduce, and use the Contribution for your
116-
non-commercial or internal business purposes, and to further Company's
117-
development of Company Programs. This grant does not: (a) limit Company's
118-
rights, (b) grant you any rights with respect to the Company Programs; nor
119-
(c) permit you to distribute, operate for the benefit of third parties (for
120-
example, on a hosted basis), or otherwise commercially exploit the
121-
Contribution.
122-
123-
You acknowledge that if Company elects to distribute the Contribution or any
124-
version or portion thereof, it may do so on any basis that it chooses
125-
(including under any proprietary or open-source licensing terms), without
126-
further compensation to you.
127-
128-
You agree that if you have or acquire hereafter any patent or interface
129-
copyright or other intellectual property interest dominating the Contribution
130-
or any Company Programs (or use thereof), such dominating interest will not be
131-
used to undermine the effect of the assignment set forth above. Accordingly,
132-
Company and its direct and indirect licensees are licensed to make, use, sell,
133-
distribute, and otherwise exploit, in the Company Programs and their future
134-
versions and derivative works, without royalty or limitation, the subject
135-
matter of the dominating interest. This license provision will be binding on
136-
you and on any assignees of, or other successors to, the dominating interest.
137-
138-
You hereby represent and warrant that you are the sole copyright holder for
139-
the Contribution and that you have the right and power to enter into this
140-
contract. You shall indemnify and hold harmless Company and its officers,
141-
employees, and agents against any and all claims, actions or damages
142-
(including attorney's reasonable fees) asserted by or paid to any party on
143-
account of a breach or alleged breach of the foregoing warranty. You make no
144-
other express or implied warranty (including without limitation any warranty
145-
of merchantability or fitness for a particular purpose) regarding the
146-
Contribution.
1+
# MIT License
2+
3+
# Copyright (c) 2021 Netherlands Film Academy
4+
5+
# Permission is hereby granted, free of charge, to any person obtaining a copy
6+
# of this software and associated documentation files (the "Software"), to deal
7+
# in the Software without restriction, including without limitation the rights
8+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
# copies of the Software, and to permit persons to whom the Software is
10+
# furnished to do so, subject to the following conditions:
11+
12+
# The above copyright notice and this permission notice shall be included in all
13+
# copies or substantial portions of the Software.
14+
15+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
# SOFTWARE.

app.py

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
1-
# Copyright (c) 2013 Shotgun Software Inc.
2-
#
3-
# CONFIDENTIAL AND PROPRIETARY
4-
#
5-
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
6-
# Source Code License included in this distribution package. See LICENSE.
7-
# By accessing, using, copying or modifying this work you indicate your
8-
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
9-
# not expressly granted therein are reserved by Shotgun Software Inc.
1+
# MIT License
2+
3+
# Copyright (c) 2021 Netherlands Film Academy
4+
5+
# Permission is hereby granted, free of charge, to any person obtaining a copy
6+
# of this software and associated documentation files (the "Software"), to deal
7+
# in the Software without restriction, including without limitation the rights
8+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
# copies of the Software, and to permit persons to whom the Software is
10+
# furnished to do so, subject to the following conditions:
11+
12+
# The above copyright notice and this permission notice shall be included in all
13+
# copies or substantial portions of the Software.
14+
15+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
# SOFTWARE.
1022

1123
import os
1224
import nuke

info.yml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
1-
# Copyright (c) 2013 Shotgun Software Inc.
2-
#
3-
# CONFIDENTIAL AND PROPRIETARY
4-
#
5-
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
6-
# Source Code License included in this distribution package. See LICENSE.
7-
# By accessing, using, copying or modifying this work you indicate your
8-
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
9-
# not expressly granted therein are reserved by Shotgun Software Inc.
1+
# MIT License
2+
3+
# Copyright (c) 2021 Netherlands Film Academy
4+
5+
# Permission is hereby granted, free of charge, to any person obtaining a copy
6+
# of this software and associated documentation files (the "Software"), to deal
7+
# in the Software without restriction, including without limitation the rights
8+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
# copies of the Software, and to permit persons to whom the Software is
10+
# furnished to do so, subject to the following conditions:
11+
12+
# The above copyright notice and this permission notice shall be included in all
13+
# copies or substantial portions of the Software.
14+
15+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
# SOFTWARE.
1022

1123
# Metadata defining the behaviour and requirements for this engine
1224

python/__init__.py

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
1-
# Copyright (c) 2013 Shotgun Software Inc.
2-
#
3-
# CONFIDENTIAL AND PROPRIETARY
4-
#
5-
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
6-
# Source Code License included in this distribution package. See LICENSE.
7-
# By accessing, using, copying or modifying this work you indicate your
8-
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
9-
# not expressly granted therein are reserved by Shotgun Software Inc.
1+
# MIT License
2+
3+
# Copyright (c) 2021 Netherlands Film Academy
4+
5+
# Permission is hereby granted, free of charge, to any person obtaining a copy
6+
# of this software and associated documentation files (the "Software"), to deal
7+
# in the Software without restriction, including without limitation the rights
8+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
# copies of the Software, and to permit persons to whom the Software is
10+
# furnished to do so, subject to the following conditions:
11+
12+
# The above copyright notice and this permission notice shall be included in all
13+
# copies or substantial portions of the Software.
14+
15+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
# SOFTWARE.
1022

1123
from . import tk_nuke_template

python/tk_nuke_template/__init__.py

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
1-
# Copyright (c) 2013 Shotgun Software Inc.
2-
#
3-
# CONFIDENTIAL AND PROPRIETARY
4-
#
5-
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
6-
# Source Code License included in this distribution package. See LICENSE.
7-
# By accessing, using, copying or modifying this work you indicate your
8-
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
9-
# not expressly granted therein are reserved by Shotgun Software Inc.
1+
# MIT License
2+
3+
# Copyright (c) 2021 Netherlands Film Academy
4+
5+
# Permission is hereby granted, free of charge, to any person obtaining a copy
6+
# of this software and associated documentation files (the "Software"), to deal
7+
# in the Software without restriction, including without limitation the rights
8+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
# copies of the Software, and to permit persons to whom the Software is
10+
# furnished to do so, subject to the following conditions:
11+
12+
# The above copyright notice and this permission notice shall be included in all
13+
# copies or substantial portions of the Software.
14+
15+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
# SOFTWARE.
1022

1123
from .handler import NukeTemplateHandler

python/tk_nuke_template/handler.py

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
1-
# Copyright (c) 2013 Shotgun Software Inc.
2-
#
3-
# CONFIDENTIAL AND PROPRIETARY
4-
#
5-
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
6-
# Source Code License included in this distribution package. See LICENSE.
7-
# By accessing, using, copying or modifying this work you indicate your
8-
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
9-
# not expressly granted therein are reserved by Shotgun Software Inc.
1+
# MIT License
2+
3+
# Copyright (c) 2021 Netherlands Film Academy
4+
5+
# Permission is hereby granted, free of charge, to any person obtaining a copy
6+
# of this software and associated documentation files (the "Software"), to deal
7+
# in the Software without restriction, including without limitation the rights
8+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
# copies of the Software, and to permit persons to whom the Software is
10+
# furnished to do so, subject to the following conditions:
11+
12+
# The above copyright notice and this permission notice shall be included in all
13+
# copies or substantial portions of the Software.
14+
15+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
# SOFTWARE.
1022

1123
import sgtk
1224
import os
@@ -128,6 +140,8 @@ def generateTemplate(self):
128140
viewerNode['xpos'].setValue(xWriteNoOp)
129141
viewerNode['ypos'].setValue(yWriteNoOp+200)
130142

143+
logger.info("Template conversion done.")
144+
131145

132146
def addCallbacks(self):
133147
# Add callbacks when changing context

0 commit comments

Comments
 (0)