"""
     Installation script for DANSE P(r) inversion perspective for SansView
"""
import os
from distutils.core import setup
currpath = os.path.split(os.getcwd())[0]

setup(
      version="0.9.1",
      name="inversionview",
      description="P(r) inversion perspective for SansView",
      package_dir={"sans":"src/sans",
                   "sans.perspectives":"src/sans/perspectives",
                   "sans.perspectives.pr":"src/sans/perspectives/pr"},
      packages=["sans.perspectives","sans",
                "sans.perspectives.pr"],
      package_data={"sans.perspectives.pr":['images/*']},
      #scripts= [os.path.join(currpath, "scripts", "PrView.py")]
    )


@@ -83,17 +83,8 @@
 %22%22%0D%0A
-import os
 %0D%0Afr
@@ -118,50 +118,8 @@
 tup%0D
-%0Acurrpath = os.path.split(os.getcwd())%5B0%5D%0D
 %0A%0D%0As
@@ -566,74 +566,8 @@
 %7D,%0D%0A
-      #scripts= %5Bos.path.join(currpath, %22scripts%22, %22PrView.py%22)%5D%0D%0A
     

remove unused code