-
Notifications
You must be signed in to change notification settings - Fork 11
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 #2 from dbradley771/main
Convert application to a package
- Loading branch information
Showing
5 changed files
with
34 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
FROM python:3.11 | ||
|
||
COPY requirements.txt requirements.txt | ||
|
||
RUN pip install -r requirements.txt | ||
|
||
COPY pyproject.toml pyproject.toml | ||
COPY README.md README.md | ||
COPY moto moto | ||
|
||
RUN pip install . | ||
|
||
ENTRYPOINT ["python", "-m", "moto"] |
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
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,24 @@ | ||
[build-system] | ||
requires = ["flit_core >=3.2,<4"] | ||
build-backend = "flit_core.buildapi" | ||
|
||
[project] | ||
name = "moto" | ||
authors = [{ name = "Bryan Witherspoon" }] | ||
readme = "README.md" | ||
dynamic = ["version", "description"] | ||
dependencies = [ | ||
"beautifulsoup4 == 4.11.1", | ||
"python-dateutil == 2.8.2", | ||
"requests == 2.28.1", | ||
"rich == 12.6.0", | ||
"influxdb-client == 1.34.0", | ||
"typer == 0.7.0", | ||
"schedule == 1.1.0", | ||
] | ||
|
||
[project.urls] | ||
Repository = "https://github.com/uoodsq/moto.git" | ||
|
||
[project.scripts] | ||
moto = "moto.cli:app" |
This file was deleted.
Oops, something went wrong.