-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #735 from datavisyn/release-15.0.0
Release 15.0.0
- Loading branch information
Showing
357 changed files
with
7,721 additions
and
4,786 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
/build/ | ||
/storybook-static/ | ||
/dist/tsBuildInfoFile | ||
/dist_python/ | ||
/lib/ | ||
*.egg-info/ | ||
*.egg | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
recursive-include tdp_core * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
.DEFAULT_GOAL := help | ||
pkg_src = tdp_core | ||
|
||
flake8 = flake8 $(pkg_src) setup.py | ||
isort = isort $(pkg_src) setup.py | ||
black = black --line-length 140 $(pkg_src) setup.py | ||
|
||
.PHONY: all ## Perform the most common development-time rules | ||
all: format lint test | ||
|
||
.PHONY: ci ## Run all CI validation steps without making any changes to code | ||
ci: check-format lint test | ||
|
||
.PHONY: format ## Auto-format the source code | ||
format: | ||
$(isort) | ||
$(black) | ||
|
||
.PHONY: check-format ## Check the source code format without changes | ||
check-format: | ||
$(isort) --check-only | ||
$(black) --check | ||
|
||
.PHONY: lint ## Run flake8 | ||
lint: | ||
$(flake8) | ||
|
||
.PHONY: test ## Run tests | ||
test: | ||
pytest $(pkg_src) | ||
|
||
.PHONEY: documentation ## Generate docs | ||
documentation: | ||
mkdocs build | ||
|
||
.PHONY: install ## Install the requirements | ||
install: | ||
pip install -e . | ||
|
||
.PHONY: develop ## Set up the development environment | ||
develop: | ||
pip install -e .[develop] | ||
|
||
.PHONY: build ## Build a wheel | ||
build: | ||
python setup.py sdist bdist_wheel --dist-dir dist_python | ||
|
||
.PHONY: publish ## Publish the ./dist/* using twine | ||
publish: | ||
pip install twine==3.8.0 | ||
twine upload --repository-url https://upload.pypi.org/legacy/ dist_python/* | ||
|
||
.PHONY: help ## Display this message | ||
help: | ||
@grep -E \ | ||
'^.PHONY: .*?## .*$$' $(MAKEFILE_LIST) | \ | ||
sort | \ | ||
awk 'BEGIN {FS = ".PHONY: |## "}; {printf "\033[36m%-20s\033[0m %s\n", $$2, $$3}' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM python:3.10-buster | ||
|
||
LABEL maintainer="[email protected]" | ||
WORKDIR /phovea | ||
|
||
COPY requirements*.txt ./ | ||
RUN (apt-get update) && \ | ||
(pip install --no-cache-dir -r requirements.txt) && \ | ||
(pip install --no-cache-dir -r requirements_dev.txt) | ||
|
||
# Create entrypoint installing the volume-mounted workspace repos | ||
RUN echo '#!/bin/sh\npip install --no-cache-dir --no-deps -r /phovea/requirements_workspace.txt\n$@' > /tmp/entrypoint.sh | ||
RUN chmod +x /tmp/entrypoint.sh | ||
ENTRYPOINT [ "/tmp/entrypoint.sh" ] | ||
|
||
# Default command is to start the server | ||
CMD [ "python -m uvicorn tdp_core.server.main:app --reload --host 0.0.0.0 --port 9000" ] | ||
|
||
EXPOSE 9000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.