Skip to content

Commit

Permalink
Try to get the path
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeling committed Dec 13, 2015
1 parent 8ddd3d2 commit 32b811d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@
# wat?
config = yaml.load(open('etc/conf.yaml', 'r').read())


dir_here = os.path.dirname(os.path.abspath(__file__))
readme = open(dir_here + '/readme.rst', 'rt').read()
requirements = open(dir_here + '/requirements.txt', 'rt').read()
try:
dir_here = os.path.dirname(os.path.abspath(__file__))
print dir_here
readme = open(dir_here + '/readme.rst', 'rt').read()
requirements = open(dir_here + '/requirements.txt', 'rt').read()
except:
readme = ""
requirements = ""


setup(
Expand Down

0 comments on commit 32b811d

Please sign in to comment.