From c10da3743b1548afac1358d7e06ceb33d208172f Mon Sep 17 00:00:00 2001 From: Mirek Simek Date: Wed, 27 Mar 2024 19:07:12 +0100 Subject: [PATCH] Packaging - including jsx, excluding tests --- MANIFEST.in | 13 ++++++++++--- setup.cfg | 10 +++++++--- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index b8023fe7..41283bbb 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,10 @@ -recursive-include oarepo_requests * -prune tests -prune thesis \ No newline at end of file +recursive-exclude tests * +recursive-include oarepo_dashboard *.yaml +recursive-include oarepo_dashboard *.json +recursive-include oarepo_dashboard *.po +recursive-include oarepo_dashboard *.pot +recursive-include oarepo_dashboard *.mo +recursive-include oarepo_dashboard *.js +recursive-include oarepo_dashboard *.jsx +recursive-include oarepo_dashboard *.less +recursive-include oarepo_dashboard *.jinja \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index b8d93f4b..0d88cd12 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = oarepo-requests -version = 1.1.7 +version = 1.1.8 description = authors = Ronald Krist readme = README.md @@ -13,13 +13,17 @@ python = >=3.9 install_requires = invenio-requests oarepo-runtime + packages = find: +include_package_data = True [options.package_data] -* = *.json, *.rst, *.md, *.json5, *.jinja2, *.html, *.jinja +* = *.json, *.rst, *.md, *.json5, *.jinja2, *.po, *.mo, *.pot, *.js, *.jsx, *.less, *.jinja [options.packages.find] -exclude = thesis +exclude = + tests + tests.* [options.extras_require] tests =