panda3d-interrogate 0.0.0__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of panda3d-interrogate might be problematic. Click here for more details.

@@ -0,0 +1,37 @@
1
+ import os
2
+ import subprocess
3
+ import sys
4
+ import panda3d
5
+
6
+ try:
7
+ import panda3d_tools
8
+ except:
9
+ panda3d_tools = None
10
+
11
+
12
+ def _get_executable(name):
13
+ if sys.platform == 'win32':
14
+ name += '.exe'
15
+
16
+ if panda3d_tools:
17
+ tools_dir = os.path.dirname(panda3d_tools.__file__)
18
+ else:
19
+ tools_dir = os.path.join(os.path.dirname(os.path.dirname(panda3d.__file__)), 'bin')
20
+
21
+ path = os.path.join(tools_dir, name)
22
+ if not os.path.isfile(path):
23
+ if sys.version_info >= (3, 3):
24
+ raise FileNotFoundError(name + ' not found')
25
+ else:
26
+ raise IOError(name + ' not found')
27
+
28
+ return path
29
+
30
+
31
+ def _run(name):
32
+ executable = _get_executable(name)
33
+ return subprocess.call([executable] + sys.argv[1:])
34
+
35
+
36
+ def main():
37
+ raise SystemExit(_run("interrogate"))
@@ -0,0 +1,3 @@
1
+ from . import main
2
+
3
+ main()
@@ -0,0 +1,37 @@
1
+ import os
2
+ import subprocess
3
+ import sys
4
+ import panda3d
5
+
6
+ try:
7
+ import panda3d_tools
8
+ except:
9
+ panda3d_tools = None
10
+
11
+
12
+ def _get_executable(name):
13
+ if sys.platform == 'win32':
14
+ name += '.exe'
15
+
16
+ if panda3d_tools:
17
+ tools_dir = os.path.dirname(panda3d_tools.__file__)
18
+ else:
19
+ tools_dir = os.path.join(os.path.dirname(os.path.dirname(panda3d.__file__)), 'bin')
20
+
21
+ path = os.path.join(tools_dir, name)
22
+ if not os.path.isfile(path):
23
+ if sys.version_info >= (3, 3):
24
+ raise FileNotFoundError(name + ' not found')
25
+ else:
26
+ raise IOError(name + ' not found')
27
+
28
+ return path
29
+
30
+
31
+ def _run(name):
32
+ executable = _get_executable(name)
33
+ return subprocess.call([executable] + sys.argv[1:])
34
+
35
+
36
+ def main():
37
+ raise SystemExit(_run("interrogate_module"))
@@ -0,0 +1,3 @@
1
+ from . import main
2
+
3
+ main()
interrogatedb.py ADDED
@@ -0,0 +1 @@
1
+ from panda3d.interrogatedb import *
@@ -0,0 +1,30 @@
1
+ Copyright (c) 2008, Carnegie Mellon University.
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions
6
+ are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright
9
+ notice, this list of conditions and the following disclaimer.
10
+ 2. Redistributions in binary form must reproduce the above copyright
11
+ notice, this list of conditions and the following disclaimer in the
12
+ documentation and/or other materials provided with the distribution.
13
+ 3. Neither the name of Carnegie Mellon University nor the names of
14
+ other contributors may be used to endorse or promote products
15
+ derived from this software without specific prior written
16
+ permission.
17
+
18
+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS "AS IS" AND ANY EXPRESS OR
19
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
+
29
+ (This is the Modified BSD License. See also
30
+ http://www.opensource.org/licenses/bsd-license.php )
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: panda3d-interrogate
3
+ Version: 0.0.0
4
+ Summary: Binding generator designed for Panda3D
5
+ License: Copyright (c) 2008, Carnegie Mellon University.
6
+ All rights reserved.
7
+
8
+ Redistribution and use in source and binary forms, with or without
9
+ modification, are permitted provided that the following conditions
10
+ are met:
11
+
12
+ 1. Redistributions of source code must retain the above copyright
13
+ notice, this list of conditions and the following disclaimer.
14
+ 2. Redistributions in binary form must reproduce the above copyright
15
+ notice, this list of conditions and the following disclaimer in the
16
+ documentation and/or other materials provided with the distribution.
17
+ 3. Neither the name of Carnegie Mellon University nor the names of
18
+ other contributors may be used to endorse or promote products
19
+ derived from this software without specific prior written
20
+ permission.
21
+
22
+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS "AS IS" AND ANY EXPRESS OR
23
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
25
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
27
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32
+
33
+ (This is the Modified BSD License. See also
34
+ http://www.opensource.org/licenses/bsd-license.php )
35
+
36
+ Project-URL: Source, https://github.com/panda3d/panda3d
37
+ Project-URL: Tracker, https://github.com/panda3d/panda3d/issues
38
+ Project-URL: Funding, https://opencollective.com/panda3d
39
+ Classifier: Development Status :: 5 - Production/Stable
40
+ Classifier: Intended Audience :: Developers
41
+ Classifier: License :: OSI Approved :: BSD License
42
+ Classifier: Operating System :: OS Independent
43
+ Classifier: Programming Language :: C++
44
+ License-File: LICENSE
45
+ Requires-Dist: panda3d <1.11.0.dev2120
46
+
@@ -0,0 +1,11 @@
1
+ interrogatedb.py,sha256=Xe_Ue-OCoqOyivh86WsVHH2Q5joqEntYCRDYRKcf5ik,36
2
+ interrogate/__init__.py,sha256=XIwn0Zx-5BrtOPUhrtsjEIh68jUce_dsUqSm5V4X83M,805
3
+ interrogate/__main__.py,sha256=ubt6XyZvcHwdjCQ90B_U4MeP-3YJduz5GWUC9yOgkrg,27
4
+ interrogate_module/__init__.py,sha256=KJ1oH1C5O1iq8roXJn31zGf19ZrNyOIDGRcNk-5p8_c,812
5
+ interrogate_module/__main__.py,sha256=ubt6XyZvcHwdjCQ90B_U4MeP-3YJduz5GWUC9yOgkrg,27
6
+ panda3d_interrogate-0.0.0.dist-info/LICENSE,sha256=5z7_ZIyzfa30MmOKvhZDULh-5PqwQA_mJD7Ku2_DEOw,1569
7
+ panda3d_interrogate-0.0.0.dist-info/METADATA,sha256=lO_bI39SQPeIBhEPNivTne3JHxpIKdKfvmnZrhCZd4A,2407
8
+ panda3d_interrogate-0.0.0.dist-info/WHEEL,sha256=XRxW4r1PNiVhMpP4bT9oWtu3HyndxpJ84SkubFgzp_Y,109
9
+ panda3d_interrogate-0.0.0.dist-info/entry_points.txt,sha256=ZvPZ3Cs4JuWkajTDxBgl523Gnvr6hZXzLWdE1J0Qn9g,94
10
+ panda3d_interrogate-0.0.0.dist-info/top_level.txt,sha256=ofkXRLSbSv8RVSk02XfXs9hHlwfmJ4IUqr_cXTYdKMI,45
11
+ panda3d_interrogate-0.0.0.dist-info/RECORD,,
@@ -0,0 +1,6 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (72.1.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py2-none-any
5
+ Tag: py3-none-any
6
+
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ interrogate = interrogate:main
3
+ interrogate_module = interrogate_module:main
@@ -0,0 +1,3 @@
1
+ interrogate
2
+ interrogate_module
3
+ interrogatedb