Merge branch 'master' of github.com:Salandora/octoprint-customControl into devel
This commit is contained in:
commit
5868dc2485
@ -1,3 +1,8 @@
|
|||||||
|
# WARNING
|
||||||
|
|
||||||
|
Plugin actually not in active development!
|
||||||
|
|
||||||
|
|
||||||
### ATTENTION
|
### ATTENTION
|
||||||
Plugin still in development!
|
Plugin still in development!
|
||||||
|
|
||||||
|
12
setup.py
12
setup.py
@ -120,13 +120,13 @@ class CleanCommand(Command):
|
|||||||
|
|
||||||
# build folder
|
# build folder
|
||||||
if os.path.exists('build'):
|
if os.path.exists('build'):
|
||||||
print "Deleting build directory"
|
print("Deleting build directory")
|
||||||
shutil.rmtree('build')
|
shutil.rmtree('build')
|
||||||
|
|
||||||
# eggs
|
# eggs
|
||||||
eggs = glob.glob("*.egg-info")
|
eggs = glob.glob("*.egg-info")
|
||||||
for egg in eggs:
|
for egg in eggs:
|
||||||
print "Deleting %s directory" % egg
|
print("Deleting %s directory" % egg)
|
||||||
shutil.rmtree(egg)
|
shutil.rmtree(egg)
|
||||||
|
|
||||||
# pyc files
|
# pyc files
|
||||||
@ -135,11 +135,11 @@ class CleanCommand(Command):
|
|||||||
return
|
return
|
||||||
if len(os.listdir(path)) == 0:
|
if len(os.listdir(path)) == 0:
|
||||||
shutil.rmtree(path)
|
shutil.rmtree(path)
|
||||||
print "Deleted %s since it was empty" % path
|
print("Deleted %s since it was empty" % path)
|
||||||
|
|
||||||
def delete_file(path):
|
def delete_file(path):
|
||||||
os.remove(path)
|
os.remove(path)
|
||||||
print "Deleted %s" % path
|
print("Deleted %s" % path)
|
||||||
|
|
||||||
import fnmatch
|
import fnmatch
|
||||||
_recursively_handle_files(
|
_recursively_handle_files(
|
||||||
@ -155,11 +155,11 @@ class CleanCommand(Command):
|
|||||||
return
|
return
|
||||||
if len(os.listdir(path)) == 0:
|
if len(os.listdir(path)) == 0:
|
||||||
shutil.rmtree(path)
|
shutil.rmtree(path)
|
||||||
print "Deleted %s since it was empty" % path
|
print("Deleted %s since it was empty" % path)
|
||||||
|
|
||||||
def delete_file(path):
|
def delete_file(path):
|
||||||
os.remove(path)
|
os.remove(path)
|
||||||
print "Deleted %s" % path
|
print("Deleted %s" % path)
|
||||||
|
|
||||||
import fnmatch
|
import fnmatch
|
||||||
_recursively_handle_files(
|
_recursively_handle_files(
|
||||||
|
Loading…
Reference in New Issue
Block a user