mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-26 22:53:16 -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:
|
||||
if (inputFile != ''):
|
||||
inputFilename = inputFile.split('\\')[-1]
|
||||
print "Compare: ", inFile, filename, inputFile, inputFilename
|
||||
print("Compare: ", inFile, filename, inputFile, inputFilename)
|
||||
if inputFilename == filename:
|
||||
inputTime = os.path.getmtime(inputFile)
|
||||
outputTime = os.path.getmtime(inFile)
|
||||
print "Matched: ", (inputTime > outputTime)
|
||||
print("Matched: ", (inputTime > outputTime))
|
||||
inputChanged = (inputTime > outputTime)
|
||||
break
|
||||
'''
|
||||
@ -2848,7 +2848,7 @@ class main(wx.Frame):
|
||||
|
||||
except ValueError:
|
||||
return
|
||||
#print self.batchList
|
||||
#print(self.batchList)
|
||||
|
||||
def OnBatchItemEdit(self, event):
|
||||
selectedItemId = self.batchTree.GetSelections()
|
||||
|
@ -1,4 +1,4 @@
|
||||
from distutils.core import setup
|
||||
from setuptools import setup
|
||||
import py2exe
|
||||
|
||||
setup(console=['Panda3DToolsGUI.py'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user