mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 06:45:08 +00:00
feat(pypi): replicate PyPi package (#1727)
Co-authored-by: sergargar <sergio@verica.io>
This commit is contained in:
10
util/replicate_pypi_package.py
Normal file
10
util/replicate_pypi_package.py
Normal 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()
|
||||
Reference in New Issue
Block a user