Skip to content

Commit

Permalink
minor fix to setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonrbriggs committed Jul 13, 2015
1 parent 9c6a702 commit 573ad5d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import shutil
from distutils.core import setup, Command

import unittest
Expand Down Expand Up @@ -55,6 +56,10 @@ def finalize_options(self):
pass

def run(self):
if os.path.exists('tmp'):
shutil.rmtree('tmp')
os.mkdir('tmp')

from virtualenvapi.manage import VirtualEnvironment
env = VirtualEnvironment('tmp/scratch')
env.install('stomp.py')
Expand Down

0 comments on commit 573ad5d

Please sign in to comment.