feat(pypi): replicate PyPi package (#1727)

Co-authored-by: sergargar <sergio@verica.io>
This commit is contained in:
Sergio Garcia
2023-01-17 17:53:08 +01:00
committed by GitHub
parent 9ad2f33dd8
commit 52d65ee4e8
2 changed files with 21 additions and 4 deletions

View File

@@ -0,0 +1,10 @@
import toml
data = toml.load("pyproject.toml")
# Modify field
data["project"]["name"] = "prowler"
# To use the dump function, you need to open the file in 'write' mode
f = open("pyproject.toml", "w")
toml.dump(data, f)
f.close()