  
  from setuptools import setup
  
  setup(
      name = 'djangorestframework',
      version = VERSION,
      url = 'https://bitbucket.org/tomchristie/django-rest-framework/wiki/Home',
 
</s> remove     name = "djangorestframework",
    version = "0.1",
 </s> add     name = 'djangorestframework',
    version = VERSION, </s> remove     description = "A lightweight REST framework for Django.",
 </s> add     description = 'A lightweight REST framework for Django.', </s> remove 
import os, shutil
shutil.rmtree(os.path.join(os.path.dirname(__file__), 'djangorestframework.egg-info'), True)


 </s> add 
import os, re

path = os.path.join(os.path.dirname(__file__), 'djangorestframework', '__init__.py')
init_py = open(path).read()
VERSION = re.match("__version__ = '([^']+)'", init_py).group(1)

  
  from setuptools import setup
  
import os, re

path = os.path.join(os.path.dirname(__file__), 'djangorestframework', '__init__.py')
init_py = open(path).read()
VERSION = re.match("__version__ = '([^']+)'", init_py).group(1)

  setup(
      name = 'djangorestframework',
      version = VERSION,
      url = 'https://bitbucket.org/tomchristie/django-rest-framework/wiki/Home',
keep keep add keep keep keep keep
 proper manifest.  setup groks version from __init__ 
setup.py