Commit 086115c7 by Tom Christie

Clean up after publishing to PyPI

parent 0198bce3
......@@ -2,6 +2,7 @@
# -*- coding: utf-8 -*-
import os
import re
import shutil
import sys
from setuptools import setup
......@@ -55,6 +56,9 @@ if sys.argv[-1] == 'publish':
print("You probably want to also tag the version now:")
print(" git tag -a %s -m 'version %s'" % (version, version))
print(" git push --tags")
shutil.rmtree('dist')
shutil.rmtree('build')
shutil.rmtree('djangorestframework.egg-info')
sys.exit()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment