Skip to content

Commit

Permalink
Use poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon-dxw committed Oct 10, 2023
1 parent 8160537 commit f9a7f1f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
29 changes: 26 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"


[tool.black]
line-length = 88
Expand Down Expand Up @@ -28,3 +26,28 @@ skip = [
'.venv', '_build', 'buck-out', 'build', 'dist', 'node_modules', 'venv',
]
skip_gitignore = true

[tool.poetry]
name = "ds-caselaw-privileged-api"
version = "0.3.0"
description = ""
authors = ["David McKee <[email protected]>"]
license = "MIT"
readme = "README.md"

[tool.poetry.dependencies]
python = ">=3.10, <4"
fastapi = ">=0.103.2"
python-dotenv = ">=1.0.0"
ds-caselaw-marklogic-api-client = ">=5.2.0"
django-environ = ">=0.11.2"
requests = {extras = ["use-chardet-on-py3"], version = ">=2.31.0"}
requests-toolbelt = ">=1.0.0"
pytest = ">=7.4.2"
lxml = ">= 4.9.3"
httpx = ">= 0.25.0"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
1 change: 1 addition & 0 deletions script/test
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!bash
export $(cat .env|xargs)
PYTHONPATH=src pytest tests $*

0 comments on commit f9a7f1f

Please sign in to comment.