Skip to content

Commit

Permalink
restructure to support multiple tools with multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
leona-ya committed Dec 3, 2024
1 parent c9490fa commit 57e950b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
/work
*.egg-info
__pycache__
result
8 changes: 6 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@
name = "fc-release";
src = ./.;
pyproject = true;
nativeBuildInputs = [ ppkgs.setuptools-scm ];
propagatedBuildInputs = [ ppkgs.setuptools pkgs.scriv pkgs.gh ];
build-system = [ ppkgs.setuptools-scm ];
dependencies = [
ppkgs.setuptools
pkgs.scriv
pkgs.gh
];
};
});

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ dependencies = [
]

[project.scripts]
fc-release = "fc_release:main"
fc-release = "release.fc_release:main"
Empty file added src/release/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion src/fc_release.py → src/release/fc_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from pathlib import Path
from subprocess import CalledProcessError, check_output, run

from nixpkgs_changelog import (
from release.nixpkgs_changelog import (
filter_and_merge_commit_msgs,
get_interesting_commit_msgs,
version_diff_lines,
Expand Down
File renamed without changes.

0 comments on commit 57e950b

Please sign in to comment.