Ensure jsx is in sdist

This commit is contained in:
Simon Li
2022-06-01 20:43:02 +01:00
parent 7d7d30bcae
commit 95e343395d
2 changed files with 5 additions and 2 deletions

View File

@@ -278,8 +278,6 @@ class JSX(BaseCommand):
return True
js_target_mtime = mtime(self.js_target)
# The sdist doesn't contain the jsx directory so this always returns 0
# if run from the dist/*.tar.gz
jsx_mtime = recursive_mtime(self.jsx_dir)
if js_target_mtime < jsx_mtime:
return True