Browse Source

Generate version.py if it does not exist

merge-requests/808/head
Darko Poljak 3 years ago
parent
commit
fc28f58c77
  1. 9
      setup.py

9
setup.py

@ -1,7 +1,14 @@
from distutils.core import setup
import cdist
import os
import re
import subprocess
if not os.path.exists(os.path.join('cdist', 'version.py')):
subprocess.run([os.path.join('bin', 'build-helper'), 'version', ])
import cdist
def data_finder(data_dir):

Loading…
Cancel
Save