Skip to content

Commit 63335fd

Browse files
move package in src/ (#335)
* move package in src/ * fix tox
1 parent f51ca18 commit 63335fd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+16
-15
lines changed

.github/workflows/deploy_mkdocs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
python -m pip install --upgrade pip
31-
python -m pip install titiler/core
32-
python -m pip install titiler/mosaic
33-
python -m pip install titiler/application
31+
python -m pip install src/titiler/core src/titiler/mosaic src/titiler/application
3432
python -m pip install nbconvert mkdocs mkdocs-material mkdocs-jupyter pygments pdocs
3533
3634
- name: update API docs

CONTRIBUTING.md

Lines changed: 6 additions & 2 deletions

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM tiangolo/uvicorn-gunicorn:python3.8
22

33
ENV CURL_CA_BUNDLE /etc/ssl/certs/ca-certificates.crt
44

5-
COPY titiler/ /tmp/titiler/
5+
COPY src/titiler/ /tmp/titiler/
66

77
RUN pip install /tmp/titiler/core /tmp/titiler/mosaic /tmp/titiler/application --no-cache-dir
88

README.md

Lines changed: 3 additions & 2 deletions

scripts/publish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SUBPACKAGE_DIRS=(
99
for PACKAGE_DIR in "${SUBPACKAGE_DIRS[@]}"
1010
do
1111
echo "publishing titiler-${PACKAGE_DIR}"
12-
pushd ./titiler/${PACKAGE_DIR}
12+
pushd ./src/titiler/${PACKAGE_DIR}
1313
rm -rf dist
1414
python setup.py sdist
1515
twine upload dist/*
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)