We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0198bce commit 086115cCopy full SHA for 086115c
setup.py
@@ -2,6 +2,7 @@
2
# -*- coding: utf-8 -*-
3
import os
4
import re
5
+import shutil
6
import sys
7
8
from setuptools import setup
@@ -55,6 +56,9 @@ def get_package_data(package):
55
56
print("You probably want to also tag the version now:")
57
print(" git tag -a %s -m 'version %s'" % (version, version))
58
print(" git push --tags")
59
+ shutil.rmtree('dist')
60
+ shutil.rmtree('build')
61
+ shutil.rmtree('djangorestframework.egg-info')
62
sys.exit()
63
64
0 commit comments