Skip to content

Commit

Permalink
Revert "Bug fix to allow the script to be run from outside psy-simple"
Browse files Browse the repository at this point in the history
This reverts commit 41e9f7a.
  • Loading branch information
Chilipp committed Apr 3, 2017
1 parent 41e9f7a commit 09ebcb0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()


Expand All @@ -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())


Expand Down

0 comments on commit 09ebcb0

Please sign in to comment.