Skip to content

Commit

Permalink
[apache#3826] fix(build): add license for Python version file (apache…
Browse files Browse the repository at this point in the history
…#3829)

### What changes were proposed in this pull request?

add license for Python version file

### Why are the changes needed?

Fix: apache#3826 

### Does this PR introduce _any_ user-facing change?

no

### How was this patch tested?

build sucessfully
  • Loading branch information
mchades authored and shaofengshi committed Jun 24, 2024
1 parent 974f731 commit ade3e62
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions clients/client-python/scripts/generate_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@ def main():
Version.COMPILE_DATE.value: compile_date,
}

license_header = [
"# Copyright 2024 Datastrato Pvt Ltd.\n",
"# This software is licensed under the Apache License version 2.\n",
]

with open(VERSION_INI, "w", encoding="utf-8") as f:
f.writelines(license_header)
config.write(f)


Expand Down

0 comments on commit ade3e62

Please sign in to comment.