mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
11 lines
306 B
Python
11 lines
306 B
Python
# This script generates config.ini for setup.iss script
|
|
from dvc import VERSION
|
|
from dvc.utils.compat import ConfigParser
|
|
|
|
config = ConfigParser.ConfigParser()
|
|
config.add_section("Version")
|
|
config.set("Version", "Version", VERSION)
|
|
|
|
with open("scripts/innosetup/config.ini", "w") as f:
|
|
config.write(f)
|