Skip to content

Commit

Permalink
Use relative paths in setup.py for RTD.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano Cossu committed Oct 8, 2018
1 parent df69b87 commit a4e02ed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@
with open(readme_fpath, encoding='utf-8') as f:
long_description = f.read()

# Extensions directory.
ext_dir = path.join(path.dirname(lakesuperior.basedir), 'ext')
# Extensions directory. Readthedocs requires it to be relative to the path
# of this script.
ext_dir = 'ext'
#ext_dir = path.join(path.dirname(lakesuperior.basedir), 'ext')

include_dirs = [
path.join(ext_dir, 'include'),
Expand Down

0 comments on commit a4e02ed

Please sign in to comment.