Skip to content

Commit

Permalink
Make yente pip-installable; makes it easier to test things upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Feb 14, 2023
1 parent ce70f6e commit 6d0b689
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 27 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get install -y -qq libicu-dev
pip install -q -r requirements.txt
pip install -q -e ".[dev]"
pip freeze
- name: Run mypy strict type check
Expand Down
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG='en_US.UTF-8' \
TZ="UTC"

COPY requirements.txt /tmp/
RUN pip install --no-cache-dir -q -r /tmp/requirements.txt
RUN mkdir -p /app
WORKDIR /app
COPY . /app
Expand Down
24 changes: 0 additions & 24 deletions requirements.txt

This file was deleted.

25 changes: 25 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,31 @@
author_email="[email protected]",
packages=find_packages(exclude=["examples", "tests"]),
namespace_packages=[],
install_requires=[
"followthemoney==3.3.0",
"nomenklatura==2.8.0",
"asyncstdlib==3.10.5",
"aiocron==1.8",
"aiocsv==1.2.3",
"aiofiles==23.1.0",
"types-aiofiles==22.1.0.7",
"aiohttp[speedups]==3.8.4",
"elasticsearch[async]==8.6.1",
"fastapi==0.91.0",
"uvicorn[standard]==0.20.0",
"python-multipart==0.0.5",
"email-validator==1.3.1",
"structlog==22.3.0",
"pyicu==2.10.2",
"orjson==3.8.6",
"text-unidecode==1.3",
"click==8.0.4",
"normality==2.4.0",
"languagecodes==1.1.1",
"countrynames==1.14.1",
"fingerprints==1.1.0",
"pantomime==0.6.0",
],
extras_require={
"dev": [
"pip>=10.0.0",
Expand Down

0 comments on commit 6d0b689

Please sign in to comment.