Skip to content

Commit

Permalink
build in place properly
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine committed May 23, 2019
1 parent 245fa05 commit ee9b276
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
for name in files:
fp = os.path.join(path, name)
if fp.endswith('cpp'):
outputs.append(fp.replace('.cpp', '').replace('/src', ''))
outputs.append(fp.replace('.cpp', '').replace('/src', '').replace('/', '.'))
sources.append(fp)

print(sources)
print(outputs)
with open(os.path.join(here, 'requirements.txt'), encoding='utf-8') as f:
requires = f.read().split()

Expand Down
5 changes: 3 additions & 2 deletions setup.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ for path, subdirs, files in os.walk('aat/src'):
for name in files:
fp = os.path.join(path, name)
if fp.endswith('cpp'):
outputs.append(fp.replace('.cpp', '').replace('/src', ''))
outputs.append(fp.replace('.cpp', '').replace('/src', '').replace('/', '.'))
sources.append(fp)

print(sources)
print(outputs)
with open(os.path.join(here, 'requirements.txt'), encoding='utf-8') as f:
requires = f.read().split()

Expand Down

0 comments on commit ee9b276

Please sign in to comment.