mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-16 16:51:02 +02:00
Rename trustgraph-utils -> trustgraph-cli
This commit is contained in:
parent
771d9fc2c7
commit
0870764092
14 changed files with 11 additions and 11 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -11,5 +11,5 @@ trustgraph-embeddings-hf/trustgraph/embeddings_hf_version.py
|
|||
trustgraph-flow/trustgraph/flow_version.py
|
||||
trustgraph-parquet/trustgraph/parquet_version.py
|
||||
trustgraph-vertexai/trustgraph/vertexai_version.py
|
||||
trustgraph-utils/trustgraph/
|
||||
trustgraph-cli/trustgraph/
|
||||
vertexai/
|
||||
|
|
@ -34,7 +34,7 @@ COPY trustgraph-vertexai/ /root/build/trustgraph-vertexai/
|
|||
COPY trustgraph-bedrock/ /root/build/trustgraph-bedrock/
|
||||
COPY trustgraph-parquet/ /root/build/trustgraph-parquet/
|
||||
COPY trustgraph-embeddings-hf/ /root/build/trustgraph-embeddings-hf/
|
||||
COPY trustgraph-utils/ /root/build/trustgraph-utils/
|
||||
COPY trustgraph-cli/ /root/build/trustgraph-cli/
|
||||
|
||||
WORKDIR /root/build/
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-vertexai/
|
|||
RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-bedrock/
|
||||
RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-parquet/
|
||||
RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-embeddings-hf/
|
||||
RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-utils/
|
||||
RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-cli/
|
||||
|
||||
RUN ls /root/wheels
|
||||
|
||||
|
|
@ -63,7 +63,7 @@ RUN \
|
|||
pip3 install /root/wheels/trustgraph_bedrock-* && \
|
||||
pip3 install /root/wheels/trustgraph_parquet-* && \
|
||||
pip3 install /root/wheels/trustgraph_embeddings_hf-* && \
|
||||
pip3 install /root/wheels/trustgraph_utils-* && \
|
||||
pip3 install /root/wheels/trustgraph_cli-* && \
|
||||
pip3 cache purge && \
|
||||
rm -rf /root/wheels
|
||||
|
||||
|
|
|
|||
10
Makefile
10
Makefile
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
# VERSION=$(shell git describe | sed 's/^v//')
|
||||
VERSION=0.11.12
|
||||
VERSION=0.11.13
|
||||
|
||||
DOCKER=podman
|
||||
|
||||
|
|
@ -14,7 +14,7 @@ wheels:
|
|||
pip3 wheel --no-deps --wheel-dir dist trustgraph-bedrock/
|
||||
pip3 wheel --no-deps --wheel-dir dist trustgraph-parquet/
|
||||
pip3 wheel --no-deps --wheel-dir dist trustgraph-embeddings-hf/
|
||||
pip3 wheel --no-deps --wheel-dir dist trustgraph-utils/
|
||||
pip3 wheel --no-deps --wheel-dir dist trustgraph-cli/
|
||||
|
||||
packages:
|
||||
rm -rf dist/
|
||||
|
|
@ -24,7 +24,7 @@ packages:
|
|||
cd trustgraph-bedrock && python3 setup.py sdist --dist-dir ../dist/
|
||||
cd trustgraph-parquet && python3 setup.py sdist --dist-dir ../dist/
|
||||
cd trustgraph-embeddings-hf && python3 setup.py sdist --dist-dir ../dist/
|
||||
cd trustgraph-utils && python3 setup.py sdist --dist-dir ../dist/
|
||||
cd trustgraph-cli && python3 setup.py sdist --dist-dir ../dist/
|
||||
|
||||
pypi-upload:
|
||||
twine upload dist/*-${VERSION}.*
|
||||
|
|
@ -32,14 +32,14 @@ pypi-upload:
|
|||
CONTAINER=docker.io/trustgraph/trustgraph-flow
|
||||
|
||||
update-package-versions:
|
||||
mkdir -p trustgraph-utils/trustgraph
|
||||
mkdir -p trustgraph-cli/trustgraph
|
||||
echo __version__ = \"${VERSION}\" > trustgraph-base/trustgraph/base_version.py
|
||||
echo __version__ = \"${VERSION}\" > trustgraph-flow/trustgraph/flow_version.py
|
||||
echo __version__ = \"${VERSION}\" > trustgraph-vertexai/trustgraph/vertexai_version.py
|
||||
echo __version__ = \"${VERSION}\" > trustgraph-bedrock/trustgraph/bedrock_version.py
|
||||
echo __version__ = \"${VERSION}\" > trustgraph-parquet/trustgraph/parquet_version.py
|
||||
echo __version__ = \"${VERSION}\" > trustgraph-embeddings-hf/trustgraph/embeddings_hf_version.py
|
||||
echo __version__ = \"${VERSION}\" > trustgraph-utils/trustgraph/utils_version.py
|
||||
echo __version__ = \"${VERSION}\" > trustgraph-cli/trustgraph/cli_version.py
|
||||
|
||||
container: update-package-versions
|
||||
${DOCKER} build -f Containerfile -t ${CONTAINER}:${VERSION} \
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ with open("README.md", "r") as fh:
|
|||
|
||||
# Load a version number module
|
||||
spec = importlib.util.spec_from_file_location(
|
||||
'version', 'trustgraph/utils_version.py'
|
||||
'version', 'trustgraph/cli_version.py'
|
||||
)
|
||||
version_module = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(version_module)
|
||||
|
|
@ -15,7 +15,7 @@ spec.loader.exec_module(version_module)
|
|||
version = version_module.__version__
|
||||
|
||||
setuptools.setup(
|
||||
name="trustgraph-utils",
|
||||
name="trustgraph-cli",
|
||||
version=version,
|
||||
author="trustgraph.ai",
|
||||
author_email="security@trustgraph.ai",
|
||||
Loading…
Add table
Add a link
Reference in a new issue