Commit 24665c27 authored by rusty1s's avatar rusty1s
Browse files

remove absolute paths in SOURCES.txt

parent 5d00ecf1
...@@ -23,7 +23,7 @@ BUILD_DOCS = os.getenv('BUILD_DOCS', '0') == '1' ...@@ -23,7 +23,7 @@ BUILD_DOCS = os.getenv('BUILD_DOCS', '0') == '1'
def get_extensions(): def get_extensions():
extensions = [] extensions = []
extensions_dir = osp.join(osp.dirname(osp.abspath(__file__)), 'csrc') extensions_dir = osp.join('csrc')
main_files = glob.glob(osp.join(extensions_dir, '*.cpp')) main_files = glob.glob(osp.join(extensions_dir, '*.cpp'))
for main, suffix in product(main_files, suffices): for main, suffix in product(main_files, suffices):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment