diff --git a/setup.py b/setup.py index 4c7cbac..49047f9 100644 --- a/setup.py +++ b/setup.py @@ -3,14 +3,9 @@ from setuptools.command.test import test as TestCommand import sys -setup_dir = osp.dirname(__file__) - -# is set down below -__version__ = None - def readme(): - with open(osp.join(setup_dir, 'README.rst')) as f: + with open('README.rst') as f: return f.read() @@ -30,7 +25,7 @@ def run_tests(self): # read the version from version.py -with open(osp.join(setup_dir, 'psy_simple', 'version.py')) as f: +with open(osp.join('psy_simple', 'version.py')) as f: exec(f.read())