From e63542d0866cd12e8f4decea728637b626dc83b3 Mon Sep 17 00:00:00 2001 From: David Coba Date: Tue, 5 Mar 2024 11:00:48 +0100 Subject: [PATCH] move to poetry --- Makefile | 8 ++------ setup.py => old_setup.py | 0 pyproject.toml | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 6 deletions(-) rename setup.py => old_setup.py (100%) create mode 100644 pyproject.toml diff --git a/Makefile b/Makefile index 450d2ed..79920a1 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ test: - pytest + poetry run pytest check: test deps: - pip install -e . + poetry install clean: rm -rf build @@ -14,7 +14,3 @@ clean: rm -rf dist rm -rf tests/.ipynb_checkpoints rm -rf notebooks/.ipynb_checkpoints - - -develop: deps - python setup.py develop diff --git a/setup.py b/old_setup.py similarity index 100% rename from setup.py rename to old_setup.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..0ce0647 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,35 @@ +[tool.poetry] +name = "asekuro" +version = "0.5.0" +description = "CLI util to deal with Jupyter Notebooks" +authors = ["Vincent D. Warmerdam", "Xebia Data"] +readme = "README.md" +license= "MIT License" +packages = [{include = "asekuro"}] +classifiers=['Topic :: Software Development :: Build Tools', +'Topic :: Utilities', +'Framework :: Jupyter', +'Intended Audience :: Developers', +'Intended Audience :: Science/Research', +'Programming Language :: Python :: 3.6', +'Development Status :: 3 - Alpha', +'License :: OSI Approved :: MIT License'] + +[tool.poetry.urls] +source = "https://github.com/godatadriven/asekuro" + +[tool.poetry.scripts] +asekuro = "asekuro.cli:main" + +[tool.poetry.dependencies] +python = "^3.10" +pytest = "^8.0.2" +nbval = "^0.11.0" +nbformat = "^5.9.2" +nbconvert = "^7.16.2" +click = "^8.1.7" + + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api"