Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
# Optional default target
# all: init test

# Install the package in editable mode
init:
pip install -r requirements.txt
@echo "Installing dependencies..."
pip install -e .

# Run the test suite
test:
py.test tests
@echo "Running tests..."
py.test tests

# Declare phony targets so make knows they are not files
.PHONY: init test
17 changes: 13 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#cf. doc at https://packaging.python.org/en/latest/guides/writing-pyproject-toml
[build-system]
requires = ["setuptools"]
requires = ["setuptools>=70.0.0"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
Expand All @@ -11,17 +11,26 @@ name = "ligojcli"
version = "1.0.0"
description = "Ligoj CLI"
authors = [{ name = "Fabrice Daugé", email = "fdaugan@kloudy.io" }]
readme = "README.md"
requires-python = ">=3.10"

dependencies = [
"colorama==0.4.6",
"requests==2.32.4",
"dnspython==2.7.0",
"dnspython==2.8.0",
"pyyaml==6.0.2",
"configparser==7.2.0",
"unidecode==1.4.0",
"jsonschema===4.25.0",
"jsonschema==4.25.0",
"jsonmerge==1.9.2",
"Jinja2==3.1.6"
]

[project.scripts]
ligoj = "ligojcli.ligoj:ligoj"
ligoj = "ligojcli.ligoj:ligoj"

[tool.setuptools.package-data]
ligojcli = ["*.yaml", "*.json"]

[tool.setuptools.exclude-package-data]
ligojcli = ["tests/*"]
9 changes: 0 additions & 9 deletions requirements.txt

This file was deleted.