Skip to content

Commit

Permalink
Merge pull request #7 from Healy-Hyperspatial/reorg-setup
Browse files Browse the repository at this point in the history
Reorg setup
  • Loading branch information
jonhealy1 authored Mar 10, 2024
2 parents a37f1f5 + 7bab232 commit 8ccf263
Show file tree
Hide file tree
Showing 16 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Install stac-fastapi-mongo
run: |
pip install ./stac_fastapi/mongo[dev,server]
pip install .[dev,server]
- name: Run test suite against Mongo
run: |
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
prune stac_fastapi/tests
prune data_loader
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ run-database-mongo:
.PHONY: pybase-install
pybase-install:
pip install wheel && \
pip install -e ./stac_fastapi/api[dev] && \
pip install -e ./stac_fastapi/types[dev] && \
pip install -e ./stac_fastapi/extensions[dev] && \
pip install -e ./stac_fastapi/core

.PHONY: install-mongo
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pip install stac_fastapi.mongo
To install the classes in your local Python env, run:

```shell
pip install -e 'stac_fastapi/mongo[dev]'
pip install -e .[dev]
```


Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.deploy.mongo
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ WORKDIR /app

COPY . /app

RUN pip install --no-cache-dir ./stac_fastapi/mongo[server]
RUN pip install --no-cache-dir .[server]

EXPOSE 8080

Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.dev.mongo
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ WORKDIR /app

COPY . /app

RUN pip install --no-cache-dir -e ./stac_fastapi/mongo[dev,server]
RUN pip install --no-cache-dir -e .[dev,server]
1 change: 1 addition & 0 deletions stac_fastapi/mongo/setup.py → setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

setup(
name="stac-fastapi.mongo",
version="3.0.0",
description="Mongodb stac-fastapi backend.",
long_description=desc,
long_description_content_type="text/markdown",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions stac_fastapi/mongo/setup.cfg

This file was deleted.

2 changes: 0 additions & 2 deletions stac_fastapi/mongo/stac_fastapi/mongo/version.py

This file was deleted.

File renamed without changes.
File renamed without changes.

0 comments on commit 8ccf263

Please sign in to comment.