Skip to content

Commit

Permalink
enhancement: Including files in source distributions with MANIFEST.in (
Browse files Browse the repository at this point in the history
…#156)

[PATCH] Including files in source distributions with MANIFEST.in

When packaging as .deb/.rpm with setuptools (sometime without
setuptools_scm), some required template files are excluded from the
final packaging result, unless specify them within `MANIFEST.in`.

See https://setuptools.pypa.io/en/latest/userguide/miscellaneous.html
See https://packaging.python.org/en/latest/guides/using-manifest-in

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
  • Loading branch information
hswong3i committed Jun 6, 2023
1 parent 6e06d65 commit 0de8ad0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
include LICENSE
include README.md

recursive-exclude * __pycache__
recursive-exclude * *.py[co]

recursive-include src/molecule_plugins/*/cookiecutter **/*
recursive-include src/molecule_plugins/*/modules **/*
recursive-include src/molecule_plugins/*/playbooks **/*

0 comments on commit 0de8ad0

Please sign in to comment.