Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
291 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from distutils.core import setup | ||
from setuptools import setup | ||
import py2exe | ||
|
||
setup(console=['Panda3DToolsGUI.py']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
__all__ = [ | ||
'get_python_inc', | ||
'get_config_var', | ||
'get_python_version', | ||
'PREFIX', | ||
'get_python_lib', | ||
'get_config_vars', | ||
] | ||
|
||
import sys | ||
|
||
if sys.version_info < (3, 12): | ||
from distutils.sysconfig import * | ||
else: | ||
from sysconfig import * | ||
|
||
PREFIX = get_config_var('prefix') | ||
|
||
def get_python_inc(plat_specific=False): | ||
path_name = 'platinclude' if plat_specific else 'include' | ||
return get_path(path_name) | ||
|
||
def get_python_lib(plat_specific=False, standard_lib=False): | ||
if standard_lib: | ||
path_name = 'stdlib' | ||
if plat_specific: | ||
path_name = 'plat' + path_name | ||
elif plat_specific: | ||
path_name = 'platlib' | ||
else: | ||
path_name = 'purelib' | ||
return get_path(path_name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.