labscript-suite / labscript

The 𝗹𝗮𝗯𝘀𝗰𝗿𝗶𝗽𝘁 library provides a translation from expressive Python code to low-level hardware instructions.
http://labscriptsuite.org
BSD 2-Clause "Simplified" License
9 stars 48 forks source link

Use setuptools_scm for setup.py version #57

Closed chrisjbillington closed 4 years ago

chrisjbillington commented 4 years ago

And use labscript_utils.versions to introspect own version, which will use either scm data or installation metadata depending on whether it is being run from a git repo or not