-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
120 additions
and
44 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
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 |
---|---|---|
|
@@ -2,3 +2,5 @@ roadkill.egg-info | |
__pycache__ | ||
secrets.json | ||
secrets.*.json | ||
.eggs | ||
*.egg-info |
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,17 @@ | ||
FROM python:3.11-slim | ||
|
||
# Allow statements and log messages to immediately appear in the Knative logs | ||
ENV PYTHONUNBUFFERED=True | ||
|
||
USER root | ||
RUN useradd -s /bin/bash dummy | ||
|
||
# Set the locale | ||
RUN apt-get update && apt-get install -y locales && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && apt-get install -y gcc && apt-get install -y libkrb5-dev && pip install requests-kerberos | ||
|
||
COPY . /app | ||
WORKDIR /app | ||
RUN pip install . | ||
|
||
USER dummy | ||
ENTRYPOINT ["process"] |
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,53 @@ | ||
#!/usr/bin/env python | ||
# -*- encoding: utf-8 -*- | ||
""" | ||
setup.py | ||
A module that installs the backup process as a module | ||
""" | ||
|
||
from setuptools import find_packages, setup | ||
|
||
setup( | ||
name="palletjack", | ||
version="1.0.0", | ||
license="MIT", | ||
description="Roadkill skid", | ||
author="UGRC Developers", | ||
author_email="ugrc-developers@utah.gov", | ||
url="https://github.com/agrc/roadkill-mobile", | ||
packages=find_packages("src"), | ||
package_dir={"": "src"}, | ||
include_package_data=True, | ||
zip_safe=True, | ||
classifiers=[ | ||
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Topic :: Utilities", | ||
], | ||
keywords=["gis"], | ||
install_requires=[ | ||
"ugrc-palletjack==5.*", | ||
"agrc-supervisor==3.*", | ||
], | ||
extras_require={ | ||
"tests": [ | ||
"pylint-quotes~=0.2", | ||
"pylint~=2.11", | ||
"pytest-instafail~=0.4", | ||
"pytest-isort~=2.0", | ||
"pytest-pylint~=0.18", | ||
"pytest~=6.0", | ||
"black~=22.12", | ||
"pandas==2.*", | ||
] | ||
}, | ||
setup_requires=[ | ||
"pytest-runner", | ||
], | ||
entry_points={ | ||
"console_scripts": [ | ||
"process = roadkill.main:process", | ||
] | ||
}, | ||
) |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.