Skip to content

Commit

Permalink
Merge pull request #148 from ikrommyd/remove-scripts-from-package-dist
Browse files Browse the repository at this point in the history
chore: remove scripts from package dist
  • Loading branch information
ikrommyd authored Feb 4, 2025
2 parents 6691349 + e18c0a8 commit 47860bb
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 19 deletions.
24 changes: 6 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,29 +55,17 @@ dev = [
]

[project.scripts]
run-analysis = "scripts.run_analysis:main"
dataset-query = "scripts.dataset_query:main"
merge-parquet = "scripts.merge_parquet:main"
prepare-histograms = "scripts.prepare_histograms:main"
fetch-datasets = "scripts.fetch_datasets:main"
get-unprocessed-partitions = "scripts.get_unprocessed_partitions:main"

[tool.hatch.build.targets.wheel]
packages = ["src/egamma_tnp", "scripts"]

[tool.hatch.build.targets.sdist]
include = [
"src/egamma_tnp/**",
"scripts/**",
]
run-analysis = "egamma_tnp.scripts.run_analysis:main"
dataset-query = "egamma_tnp.scripts.dataset_query:main"
merge-parquet = "egamma_tnp.scripts.merge_parquet:main"
prepare-histograms = "egamma_tnp.scripts.prepare_histograms:main"
fetch-datasets = "egamma_tnp.scripts.fetch_datasets:main"
get-unprocessed-partitions = "egamma_tnp.scripts.get_unprocessed_partitions:main"

[tool.hatch]
version.source = "vcs"
build.hooks.vcs.version-file = "src/egamma_tnp/_version.py"

[tool.hatch.metadata]
allow-direct-references = true

[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
Expand Down
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion tests/test_get_unprocessed_partitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
import os

import pytest
from scripts.get_unprocessed_partitions import find_missing_partitions

from egamma_tnp.scripts.get_unprocessed_partitions import find_missing_partitions


@pytest.fixture
Expand Down

0 comments on commit 47860bb

Please sign in to comment.