Skip to content

Commit

Permalink
refactor: update pdm lock and fix installation errors. (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahinism authored Jul 19, 2024
1 parent be6879a commit 5b41763
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 23 deletions.
8 changes: 7 additions & 1 deletion devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@

{
# https://devenv.sh/packages/
packages = with pkgs; [ ];
packages = with pkgs; [
cargo
rustc
];

languages.python = {
enable = true;
Expand All @@ -23,6 +26,9 @@
};
};

enterShell = ''
pdm install --no-self
'';
# Make diffs fantastic
difftastic.enable = true;

Expand Down
80 changes: 61 additions & 19 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 10 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[project]
name = "inception"
version = "1.0.0"
description = "Default template for PDM package"
authors = [
{name = "Reza (Shahin) Khanipour", email = "[email protected]"},
Expand All @@ -9,10 +8,18 @@ authors = [
dependencies = [
"copier>=9.3.1",
]
requires-python = "==3.11.*"
requires-python = ">=3.11.0"
readme = "README.md"
license = {text = "MIT"}

dynamic = ["version"]

[tool.pdm]
distribution = false

[tool.pdm.version]
source = "scm"
write_to = "src/inception/__init__.py"
write_template = '__version__ = "{}"'

[tool.commitizen]
version_provider = "scm"

0 comments on commit 5b41763

Please sign in to comment.