Skip to content

Commit

Permalink
Move all of setup.py to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
lucc committed Jul 31, 2024
1 parent c337c53 commit 1849f14
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 22 deletions.
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
name = "alot";
version = "dev";
src = self;
pyproject = true;
build-system = with pkgs.python3Packages; [
setuptools
setuptools-scm
];
dependencies = with pkgs.python3Packages; [
configobj
gpgme
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"


[tool.poetry]
name = "alot"
Expand Down Expand Up @@ -84,3 +85,5 @@ alot = "alot.__main__:main"
Repository = "https://github.com/pazz/alot"
Documentation = "https://alot.readthedocs.io/en/latest/"
Issues = "https://github.com/pazz/alot/issues"

[tool.setuptools.packages.find]
20 changes: 0 additions & 20 deletions setup.py

This file was deleted.

0 comments on commit 1849f14

Please sign in to comment.