Skip to content

Commit

Permalink
clean up package build
Browse files Browse the repository at this point in the history
  • Loading branch information
Georg Schramm authored and Georg Schramm committed Nov 30, 2024
1 parent 116da0b commit bb19398
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 7 deletions.
15 changes: 15 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Include necessary metadata files
include LICENSE
include README.md
include pyproject.toml

# Include only the package files
graft pymirc

# Exclude unwanted directories
prune */__pycache__
prune examples
prune tutorial
prune tf
prune .git
prune .github
16 changes: 9 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@
requires = ["setuptools >= 61.0", "wheel", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
packages = { find = { include = ["pymirc*"], exclude = ["tutorial*"] } }

[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "dirty-tag"

[project]
name = "pymirc"
dynamic = ["version"]
Expand Down Expand Up @@ -41,3 +34,12 @@ classifiers = [

[project.urls]
Repository = "https://github.com/gschramm/pymirc"

[tool.setuptools.packages.find]
where = ["."]
include = ["pymirc*"]
exclude = ["pymirc.__pycache__"]

[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "dirty-tag"
File renamed without changes.
File renamed without changes.

0 comments on commit bb19398

Please sign in to comment.