Skip to content

Commit

Permalink
Minor fixes before release
Browse files Browse the repository at this point in the history
  • Loading branch information
neutralino1 committed Jun 20, 2022
1 parent 187e7c2 commit 1e16823
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,5 @@ wheel:
m2r --overwrite README.md
bazel build //sematic:wheel

release: build_ui wheel
# sleep 1
# cat bazel-bin/sematic/wheel.name
# $(eval STAMPED_WHEEL := $(shell cat bazel-bin/sematic/wheel.name))
# cp -f bazel-bin/sematic/sematic-0.0.2.alpha._BUILD_TIMESTAMP_-py3-none-any.whl /tmp/$(STAMPED_WHEEL)
release:
python3 -m twine upload --repository testpypi bazel-bin/sematic/*.whl
4 changes: 2 additions & 2 deletions sematic/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def server_pid_file_path(self):
# Local API server
# DB in container
_DEV_CONFIG = Config(
server_address="0.0.0.0",
server_address="localhost",
port=5001,
api_version=1,
db_url="postgresql://postgres:password@0.0.0.0:5432/sematic",
Expand All @@ -114,7 +114,7 @@ def server_pid_file_path(self):

# DB and API in containers
_LOCAL_CONFIG = Config(
server_address="0.0.0.0",
server_address="localhost",
port=5002,
api_version=1,
db_url="postgresql://postgres:password@0.0.0.0:5432/sematic",
Expand Down
2 changes: 1 addition & 1 deletion tools/sematic_rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def sematic_example(name, requirements = None, data = None):
sematic_py_lib(
name = "{}_lib".format(name),
srcs = native.glob(["*.py", "**/*.py"]),
data = ["requirements.txt"] + (data or []),
data = ["requirements.txt", "README", "AUTHORS"] + (data or []),
deps = [
"//sematic:init",
]
Expand Down

0 comments on commit 1e16823

Please sign in to comment.