Fix imports #116

Merged
telackey merged 2 commits from dboreham/fix-imports into main 2023-01-12 04:57:27 +00:00
8 changed files with 7 additions and 10 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

@ -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} .