Skip to content

Commit

Permalink
Removing the install of profiling tools which is not available at the…
Browse files Browse the repository at this point in the history
… open installation
  • Loading branch information
engpedrorafael committed Aug 30, 2010
1 parent f670363 commit 847c898
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,16 +753,17 @@ def build(self):

# Copy the test directory
os.system("cp -r "+os.path.join(self.rootDir, "tests")+" "+self.orangeInstallDir)
#Expand profiling Data
#Dir of dataSets used by profiling tools
dataDir = os.path.realpath(os.path.join(self.orangeInstallDir,'tests','profiling','dataSets'))
# Zipped file containing the full set of datasets for profiling
ZippedData=os.path.realpath(os.path.join(dataDir,'profilingDataSuite.tar.gz'))
#Dir where the original datasets are going to be unzipped
fullTrunkDir=os.path.join(dataDir,'fullTrunk')
os.system("rm -rf " + fullTrunkDir)
os.system("mkdir -p " + fullTrunkDir)
os.system("tar xfz " + ZippedData + " -C " + fullTrunkDir)
#Expand profiling Data
if not self.OpenInstallation:
#Dir of dataSets used by profiling tools
dataDir = os.path.realpath(os.path.join(self.orangeInstallDir,'tests','profiling','dataSets'))
# Zipped file containing the full set of datasets for profiling
ZippedData=os.path.realpath(os.path.join(dataDir,'profilingDataSuite.tar.gz'))
#Dir where the original datasets are going to be unzipped
fullTrunkDir=os.path.join(dataDir,'fullTrunk')
os.system("rm -rf " + fullTrunkDir)
os.system("mkdir -p " + fullTrunkDir)
os.system("tar xfz " + ZippedData + " -C " + fullTrunkDir)



Expand Down

0 comments on commit 847c898

Please sign in to comment.