Commit de542380 authored by Joseph Weston's avatar Joseph Weston

remove cruft before building source distribution

parent ac412beb
...@@ -28,6 +28,7 @@ _sdist = cmdclass.pop('sdist') ...@@ -28,6 +28,7 @@ _sdist = cmdclass.pop('sdist')
class sdist(_sdist): class sdist(_sdist):
def run(self): def run(self):
import subprocess import subprocess
subprocess.check_call(['rm', '-r', 'zesje/static'])
subprocess.check_call(['yarn', 'install']) subprocess.check_call(['yarn', 'install'])
subprocess.check_call(['yarn', 'build']) subprocess.check_call(['yarn', 'build'])
super().run() super().run()
......
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