Skip to content

Commit

Permalink
remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
AHReccese committed Jan 23, 2024
1 parent 38c7288 commit c972cbe
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions reserver/reserver_obj.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
"""Reserver modules."""
from .reserver_func import does_package_exist, generate_template_setup_py
from .util import is_platform_linux
from os import environ, path, getcwd, remove
from shutil import rmtree
from sys import executable
Expand Down Expand Up @@ -60,11 +59,6 @@ def upload_to_pypi(self, package_name):
rmtree(generated_dist_folder)

commands = [executable + " " + generated_setup_file_path + " sdist bdist_wheel "]
# if is_platform_linux():
# handle the place build files get generated.
# pip install "importlib-metadata<5.0" for
# https://bobbyhadz.com/blog/entrypoints-object-has-no-attribute-get
# commands.append(executable + " -m pip install \"importlib-metadata<5.0\"")
if self.test_pypi:
commands += [
executable + " -m twine upload --repository testpypi " + generated_tar_gz_file,
Expand Down

0 comments on commit c972cbe

Please sign in to comment.