Skip to content

Commit

Permalink
Dont make archive for dependecies
Browse files Browse the repository at this point in the history
Directory is enough for deps for specific os/python

Signed-off-by: Abhishek Kumar <[email protected]>
  • Loading branch information
Abhishek-Dev09 committed Aug 14, 2020
1 parent b4ea9c6 commit ae67ce0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions etc/scripts/deps_archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

import argparse
import os
from shutil import make_archive
from subprocess import run
import sys

Expand All @@ -54,12 +53,6 @@ def generate_os_archive(links, requirement, archive_name):
archive_name,
]
run(pip_agrs)
root_dir = os.path.abspath(archive_name)
output_dir = os.path.abspath(archive_name)
if on_windows:
make_archive(output_dir, 'zip', root_dir)
else:
make_archive(output_dir, 'gztar', root_dir)


def main_with_args(args: str) -> None:
Expand Down

0 comments on commit ae67ce0

Please sign in to comment.