Skip to content

Commit

Permalink
Test absolute path for RTD.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano Cossu committed Oct 8, 2018
1 parent b67b2ae commit 8aa7a61
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@
with open(readme_fpath, encoding='utf-8') as f:
long_description = f.read()

# 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')
# Extensions directory.
ext_dir = path.join(path.dirname(lakesuperior.basedir), 'ext')

include_dirs = [
path.join(ext_dir, 'include'),
Expand All @@ -54,7 +52,7 @@
Extension(
'lakesuperior.store.base_lmdb_store',
[
'ext/lib/mdb.c',
path.join(ext_dir, 'lib', 'mdb.c'),
path.join(ext_dir, 'lib', 'midl.c'),
path.join(lakesuperior.basedir, 'store', f'base_lmdb_store.{ext}'),
],
Expand All @@ -74,7 +72,7 @@
Extension(
'lakesuperior.store.ldp_rs.lmdb_triplestore',
[
'ext/lib/mdb.c',
path.join(ext_dir, 'lib', 'mdb.c'),
path.join(ext_dir, 'lib', 'midl.c'),
path.join(
lakesuperior.basedir, 'store', 'ldp_rs',
Expand Down Expand Up @@ -187,7 +185,7 @@
'pytest-flask',
],

include_package_data=True,
#include_package_data=True,
#extras_require={},
#package_data={
#},
Expand Down

0 comments on commit 8aa7a61

Please sign in to comment.