diff --git a/.dockerignore b/.dockerignore index 3543f6939..57efb59ad 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,7 +7,9 @@ !src !requirements/*.txt !README.rst +!LICENSE !pyproject.toml +!setup.py !container/start.sh !container/healthcheck.py diff --git a/.github/workflows/container-smoke-test.yml b/.github/workflows/container-smoke-test.yml index 93c34decf..cced926bd 100644 --- a/.github/workflows/container-smoke-test.yml +++ b/.github/workflows/container-smoke-test.yml @@ -18,10 +18,7 @@ jobs: fetch-depth: 0 - name: Install requirements - run: | - python -m venv venv - source ./venv/bin/activate - pip install . + run: make install - name: Resolve Karapace version run: | diff --git a/MANIFEST.in b/MANIFEST.in index a44e2b322..4ee222daa 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ -include src/karapace/*.py +graft src include karapace.json include karapace.unit include tests/*.py @@ -7,6 +7,5 @@ include README.rst include pyproject.toml include LICENSE include MANIFEST.in -include src/*.so recursive-exclude examples *~ *.pyc \.* diff --git a/karapace/protobuf/protopace/__init__.py b/src/karapace/protobuf/protopace/__init__.py similarity index 100% rename from karapace/protobuf/protopace/__init__.py rename to src/karapace/protobuf/protopace/__init__.py diff --git a/karapace/protobuf/protopace/protopace.py b/src/karapace/protobuf/protopace/protopace.py similarity index 100% rename from karapace/protobuf/protopace/protopace.py rename to src/karapace/protobuf/protopace/protopace.py