Fix odd import problem

This commit is contained in:
David Boreham 2023-01-11 21:56:05 -07:00
parent 7edfa1bb29
commit 0a66b7e9d2
9 changed files with 7 additions and 11 deletions

View File

@ -24,7 +24,7 @@ import os
from decouple import config from decouple import config
import subprocess import subprocess
import click import click
import importlib import importlib.resources
from pathlib import Path from pathlib import Path
from .util import include_exclude_check from .util import include_exclude_check

View File

@ -21,7 +21,7 @@
import os import os
from decouple import config from decouple import config
import click import click
import importlib import importlib.resources
from python_on_whales import docker from python_on_whales import docker
from .util import include_exclude_check from .util import include_exclude_check

View File

@ -1,2 +1,2 @@
# This file should be re-generated running: scripts/update-version-file.sh script # This file should be re-generated running: scripts/update-version-file.sh script
v1.0.6-alpha-ae7a17c v1.0.7-alpha-7edfa1b

View File

@ -20,7 +20,7 @@ import os
import sys import sys
from python_on_whales import DockerClient from python_on_whales import DockerClient
import click import click
import importlib import importlib.resources
from pathlib import Path from pathlib import Path
from .util import include_exclude_check from .util import include_exclude_check

View File

@ -22,7 +22,7 @@ from decouple import config
import git import git
from tqdm import tqdm from tqdm import tqdm
import click import click
import importlib import importlib.resources
from .util import include_exclude_check from .util import include_exclude_check

View File

@ -14,7 +14,7 @@
# along with this program. If not, see <http:#www.gnu.org/licenses/>. # along with this program. If not, see <http:#www.gnu.org/licenses/>.
import click import click
import importlib import importlib.resources
@click.command() @click.command()
@click.pass_context @click.pass_context

View File

@ -1,4 +0,0 @@
# Builds the shiv "package" for distribution
# TODO: add build version/tag to filename
# TODO: add version info to code for version subcommand
shiv -c laconic-so -o package/laconic-so .

View File

@ -3,4 +3,3 @@ GitPython>=3.1.27
tqdm>=4.64.0 tqdm>=4.64.0
python-on-whales>=0.52.0 python-on-whales>=0.52.0
click>=8.1.3 click>=8.1.3
import-resources>=5.10.2

View File

@ -1,3 +1,4 @@
# Builds the shiv "package" for distribution # Builds the shiv "package" for distribution
mkdir -p ./package
version_string=$( ./scripts/update_version_file.sh) version_string=$( ./scripts/update_version_file.sh)
shiv -c laconic-so -o package/laconic-so-${version_string} . shiv -c laconic-so -o package/laconic-so-${version_string} .