--- setup.py +++ setup.py @@ -40,9 +40,7 @@ from distutils.command.sdist import sdist from distutils.core import setup -os.chdir(os.path.dirname(__file__) or ".") -sys.path.insert(0, os.path.dirname(__file__)) -from nfoview import __version__ +__version__ = os.environ['PV'] class Clean(clean):