mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
remove previous builds
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
@@ -50,6 +50,11 @@ class DebCommand(Command):
|
||||
pass
|
||||
|
||||
def run(self):
|
||||
try:
|
||||
self.status('Removing previous builds…')
|
||||
rmtree(os.path.join(here, 'deb_dist'))
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
self.status(u'Creating debian mainfest…')
|
||||
os.system('python setup.py --command-packages=stdeb.command sdist_dsc')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user