Commit f8fbbd10 authored by Romain Casati's avatar Romain Casati
Browse files

Fix #3.

parent 08003f7e
......@@ -7,6 +7,6 @@ publish:
for d in $$(find ../src/ -mindepth 1 -maxdepth 1 -type d); do cd $$d ; make clean ; cd - ; done
rm -rf basthon_kernel.egg-info/ basthon-kernel/data/* build/ dist/
rm -rf basthon_kernel.egg-info/ basthon-kernel/data/ build/ dist/
.PHONY: publish build clean
......@@ -30,8 +30,9 @@ if command == "sdist":
content += [os.path.join(root, f)
for f in files if os.path.splitext(f)[1] == '.whl']
for fname in content:
os.path.join(data_dir, os.path.basename(fname)))
dest = os.path.join(data_dir, os.path.basename(fname))
os.makedirs(os.path.dirname(dest), exist_ok=True)
shutil.copyfile(fname, dest)
Supports Markdown
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