Commit 17d371af authored by Francois Ledoyen's avatar Francois Ledoyen
Browse files

maint: use poetry

parent 27f8591b
Loading
Loading
Loading
Loading

poetry.lock

0 → 100644
+1993 −0

File added.

Preview size limit exceeded, changes collapsed.

pyproject.toml

0 → 100644
+50 −0
Original line number Diff line number Diff line
[tool.poetry]
name = "tagthunder-api"
version = "0.1.0"
description = ""
authors = ["François Ledoyen <francois.ledoyen@unicaen.fr>"]
readme = "README.md"
packages = [
	{include = "tagthunder"},
	{include = "api", from = "tagthunder"}
]

[tool.poetry.dependencies]
python = "^3.9"
uvicorn = "0.20.0"
pydantic = "1.10.4"
dacite = "1.7.0"
email-validator = "1.3.0"
requests = "2.28.2"
urllib3 = "1.26.14"
lxml = "4.9.2"
html5lib = "1.1"
pandas = "1.5.2"
pillow = "9.4.0"
scikit-learn = "1.2.0"
matplotlib = "3.6.3"
gtts = "2.3.1"
langdetect = "1.0.9"
llvmlite = "0.39.1"
pydub = "0.25.1"
librosa = "0.9.2"
soundfile = "0.11.0"
pyopenal = "0.7.11a1"
yake = "0.4.8"
inscriptis = "2.3.2"
numba = "0.56.4"
toolz = "0.12.0"
googletrans = "4.0.0-rc1"
fastapi = "0.72.0"
beautifulsoup4 = "4.10.0"


[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.scripts]
tagthunder-api = "api.main:run"

requirements.txt

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
-e .

setup.py

deleted100644 → 0
+0 −42
Original line number Diff line number Diff line
from glob import glob
from os.path import basename, join, dirname, splitext

from setuptools import find_packages, setup
import pathlib
import pkg_resources

# https://packaging.python.org/guides/single-sourcing-package-version/
# http://blog.ionelmc.ro/2014/05/25/python-packaging/

setup(
    name="tagthunder",
    version="0.0.1",
    author="François Ledoyen",
    author_email="francois.ledoyen@unicaen.fr",
    packages=["api", "pipeline"],
    package_dir={"": "tagthunder"},
    include_package_data=False,
    zip_safe=False,
    classifiers=[
        # complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
        "Programming Language :: Python :: 3.9",
        "Operating System :: Unixr",
    ],
    python_requires=">=3.9",
    setup_requires=[],
    install_requires=[
        "fastapi", "uvicorn", 
        "pydantic", "dacite", "email-validator",
        "requests", "urllib3",
        "beautifulsoup4", "lxml", "html5lib", 
        "numpy", "pandas", "sklearn", "pillow", "scipy", "matplotlib",
        "gtts", "langdetect", "googletrans==4.0.0-rc1", "pydub","librosa", "soundfile",
        "PyOpenAL",
        "yake", "inscriptis",
    ],
    entry_points={
        "console_scripts": [
            "run-api=api.main:run"
        ]
    }
)

tagthunder/api/requirements.txt

deleted100644 → 0
+0 −30
Original line number Diff line number Diff line
anyio==3.3.4
asgiref==3.4.1
asttokens==2.0.5
beautifulsoup4==4.10.0
click==8.0.3
dacite==1.6.0
devtools==0.8.0
dnspython==2.1.0
email-validator==1.1.3
executing==0.8.2
fastapi==0.70.0
h11==0.12.0
idna==3.3
jellyfish==0.8.8
networkx==2.6.3
numpy==1.21.3
pydantic==1.8.2
python-dotenv==0.19.1
regex==2021.10.21
req==1.0.0
segtok==1.5.10
six==1.16.0
sniffio==1.2.0
soupsieve==2.2.1
starlette==0.16.0
tabulate==0.8.9
-e git+ssh://git@git.unicaen.fr/francois.ledoyen/tagthunder.git@e9ddef003d831fd332b11d6d508b4d87b6a859f4#egg=tagthunder
typing-extensions==3.10.0.2
uvicorn==0.15.0
yake==0.4.8