Skip to content
Snippets Groups Projects
Commit de542380 authored by Joseph Weston's avatar Joseph Weston
Browse files

remove cruft before building source distribution

parent ac412beb
Branches
Tags
No related merge requests found
......@@ -28,6 +28,7 @@ _sdist = cmdclass.pop('sdist')
class sdist(_sdist):
def run(self):
import subprocess
subprocess.check_call(['rm', '-r', 'zesje/static'])
subprocess.check_call(['yarn', 'install'])
subprocess.check_call(['yarn', 'build'])
super().run()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment