mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
Panda3DToolsGUI: Update setup.py to use setuptools and change Print statements to Python3 syntax
This commit is contained in:
parent
79a60688ce
commit
ad8882123b
@ -2650,11 +2650,11 @@ class main(wx.Frame):
|
|||||||
for inputFile in inputs:
|
for inputFile in inputs:
|
||||||
if (inputFile != ''):
|
if (inputFile != ''):
|
||||||
inputFilename = inputFile.split('\\')[-1]
|
inputFilename = inputFile.split('\\')[-1]
|
||||||
print "Compare: ", inFile, filename, inputFile, inputFilename
|
print("Compare: ", inFile, filename, inputFile, inputFilename)
|
||||||
if inputFilename == filename:
|
if inputFilename == filename:
|
||||||
inputTime = os.path.getmtime(inputFile)
|
inputTime = os.path.getmtime(inputFile)
|
||||||
outputTime = os.path.getmtime(inFile)
|
outputTime = os.path.getmtime(inFile)
|
||||||
print "Matched: ", (inputTime > outputTime)
|
print("Matched: ", (inputTime > outputTime))
|
||||||
inputChanged = (inputTime > outputTime)
|
inputChanged = (inputTime > outputTime)
|
||||||
break
|
break
|
||||||
'''
|
'''
|
||||||
@ -2848,7 +2848,7 @@ class main(wx.Frame):
|
|||||||
|
|
||||||
except ValueError:
|
except ValueError:
|
||||||
return
|
return
|
||||||
#print self.batchList
|
#print(self.batchList)
|
||||||
|
|
||||||
def OnBatchItemEdit(self, event):
|
def OnBatchItemEdit(self, event):
|
||||||
selectedItemId = self.batchTree.GetSelections()
|
selectedItemId = self.batchTree.GetSelections()
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from distutils.core import setup
|
from setuptools import setup
|
||||||
import py2exe
|
import py2exe
|
||||||
|
|
||||||
setup(console=['Panda3DToolsGUI.py'])
|
setup(console=['Panda3DToolsGUI.py'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user