avoid circular, gigantic zipfile generation by putting it in the /tmp dir
This commit is contained in:
@@ -13,7 +13,7 @@ class NoIndexHtml(Exception):
|
|||||||
|
|
||||||
def make_a_zip_file(dirpath: pl.Path) -> pl.Path:
|
def make_a_zip_file(dirpath: pl.Path) -> pl.Path:
|
||||||
|
|
||||||
zipfile_filename = str(uuid.uuid4())
|
zipfile_filename = "/tmp/" + str(uuid.uuid4())
|
||||||
shutil.make_archive(zipfile_filename, "zip", dirpath)
|
shutil.make_archive(zipfile_filename, "zip", dirpath)
|
||||||
return pl.Path(zipfile_filename + ".zip")
|
return pl.Path(zipfile_filename + ".zip")
|
||||||
|
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -3,7 +3,7 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="publify",
|
name="publify",
|
||||||
version="0.2.1",
|
version="0.2.2",
|
||||||
description="A CLI for publishing sites to Netlify and assigning custom domains to them.",
|
description="A CLI for publishing sites to Netlify and assigning custom domains to them.",
|
||||||
author="Zev Averbach",
|
author="Zev Averbach",
|
||||||
author_email="zev@averba.ch",
|
author_email="zev@averba.ch",
|
||||||
|
|||||||
Reference in New Issue
Block a user