Skip to content

Commit 1c94adc

Browse files
authored
Update setup.py
1 parent a91ac65 commit 1c94adc

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

setup.py

-7
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import os
1616
from glob import glob
1717
import sys
18-
import subprocess
1918

2019
from setuptools import setup, find_packages
2120

@@ -72,9 +71,3 @@ def read_version():
7271
]
7372
}
7473
)
75-
76-
commit_id = subprocess.check_output(['git', 'rev-parse', '--verify', 'HEAD'])
77-
build_metadata = {"name": "aws-sfn", "version": read_version(), "commit_id": commit_id.decode('utf-8').strip()}
78-
with open("build.json", "w") as outputfile:
79-
json.dump(build_metadata, outputfile)
80-
print(build_metadata)

0 commit comments

Comments
 (0)