Loading setup.py +9 −8 Original line number Original line Diff line number Diff line Loading @@ -82,11 +82,6 @@ def copy_eclipse_settings(name,return_path): print(bcolors.WARNING+" Copying "+name+"/"+EPS+" to "+name+"/"+bcolors.ENDC) print(bcolors.WARNING+" Copying "+name+"/"+EPS+" to "+name+"/"+bcolors.ENDC) shout("rsync -av "+name+"/"+EPS+"/ "+name+"/") shout("rsync -av "+name+"/"+EPS+"/ "+name+"/") if not os.path.isdir(name+"/"+EPS): print("Not copying up files for Eclipse project: not an Eclipse project") elif os.path.isfile(name+"/.project"): print("Not copying up files for Eclipse project: .project is already there") # it does not have to be an Eclipse project # it does not have to be an Eclipse project if (not os.path.islink(name+"/scripts")): if (not os.path.islink(name+"/scripts")): # sub all character line into '..', keep '/' # sub all character line into '..', keep '/' Loading @@ -96,6 +91,12 @@ def copy_eclipse_settings(name,return_path): print("Linked scripts/ to project") print("Linked scripts/ to project") if not os.path.isdir(name+"/"+EPS): print("Not copying up files for Eclipse project: not an Eclipse project") elif os.path.isfile(name+"/.project"): print("Not copying up files for Eclipse project: .project is already there") def read_local_conf(conf_file,pattern): def read_local_conf(conf_file,pattern): ret = [] ret = [] if os.path.isfile(conf_file): if os.path.isfile(conf_file): Loading Loading
setup.py +9 −8 Original line number Original line Diff line number Diff line Loading @@ -82,11 +82,6 @@ def copy_eclipse_settings(name,return_path): print(bcolors.WARNING+" Copying "+name+"/"+EPS+" to "+name+"/"+bcolors.ENDC) print(bcolors.WARNING+" Copying "+name+"/"+EPS+" to "+name+"/"+bcolors.ENDC) shout("rsync -av "+name+"/"+EPS+"/ "+name+"/") shout("rsync -av "+name+"/"+EPS+"/ "+name+"/") if not os.path.isdir(name+"/"+EPS): print("Not copying up files for Eclipse project: not an Eclipse project") elif os.path.isfile(name+"/.project"): print("Not copying up files for Eclipse project: .project is already there") # it does not have to be an Eclipse project # it does not have to be an Eclipse project if (not os.path.islink(name+"/scripts")): if (not os.path.islink(name+"/scripts")): # sub all character line into '..', keep '/' # sub all character line into '..', keep '/' Loading @@ -96,6 +91,12 @@ def copy_eclipse_settings(name,return_path): print("Linked scripts/ to project") print("Linked scripts/ to project") if not os.path.isdir(name+"/"+EPS): print("Not copying up files for Eclipse project: not an Eclipse project") elif os.path.isfile(name+"/.project"): print("Not copying up files for Eclipse project: .project is already there") def read_local_conf(conf_file,pattern): def read_local_conf(conf_file,pattern): ret = [] ret = [] if os.path.isfile(conf_file): if os.path.isfile(conf_file): Loading