Skip to content

Commit

Permalink
workaroud to skip validation on Windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor Korovin committed Aug 19, 2022
1 parent 73e30ae commit 928dbd8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="yappa",
version="0.4.25",
version="0.4.26",
url="https://github.com/turokg/yappa",
description="Easy serverless deploy of python web applications",
long_description_content_type="text/markdown",
Expand Down
4 changes: 4 additions & 0 deletions yappa/packaging/common.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import platform

from click import ClickException

REQUIRED_PACKAGES = ("httpx", "PyYAML")


def validate_requirements_file(requirements_filename):
if any(platform.win32_ver()):
return
try:
with open(requirements_filename, encoding="utf-8") as f:
requirements = f.read()
Expand Down

0 comments on commit 928dbd8

Please sign in to comment.