1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-08-03 08:21:58 +03:00

setup: Drop explicit creation of the build dir in sdist

No need to do that since we'll create it in the top-level code as a
first thing anyway.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
Erik Skultety
2023-06-08 11:17:21 +02:00
parent 8ba4e9d626
commit 28d620c36c

View File

@ -235,8 +235,6 @@ class my_sdist(sdist):
f_out.write(" " + line.strip() + "\n")
def run(self):
Path("build").mkdir(exist_ok=True)
if Path(".git").exists():
try:
self.gen_rpm_spec()