aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbenadha <benawiadha@gmail.com>2022-04-10 16:02:43 +0700
committerbenadha <benawiadha@gmail.com>2022-04-10 16:02:43 +0700
commitf9427cf70603bf1aa92a28e75a3c6be977d59ee9 (patch)
tree35d61927e933badd0e5076732860be26860f62ec
parenta9c4ba62a315601eddbca4a19a735a1a75b3fc1a (diff)
downloadepy-f9427cf70603bf1aa92a28e75a3c6be977d59ee9.tar.gz
Update dev env configurations
-rw-r--r--Makefile2
-rw-r--r--pyproject.toml7
2 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d999282..cfcfd1e 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
.DEFAULT_GOAL := tests
dev:
- poetry install --no-root
+ poetry install
tests:
python -m pytest -vv
diff --git a/pyproject.toml b/pyproject.toml
index 6977d9f..191a3dc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -9,6 +9,9 @@ packages = [
{ include = "epy_extras" },
]
+[tool.poetry.scripts]
+epy = "epy:main"
+
[tool.poetry.dependencies]
python = "^3.7"
windows-curses = { version = "*", markers = "platform_system == 'Windows'" }
@@ -27,3 +30,7 @@ strict_optional = true
[tool.black]
line-length = 100
target-version = ['py38']
+
+[build-system]
+requires = ["poetry-core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"