From 3d5e3fdc92a40d13c921c8a4152ab5d8f53ba024 Mon Sep 17 00:00:00 2001 From: Sam Andrello Date: Wed, 10 Jul 2024 16:31:09 -0400 Subject: [PATCH] Add missing packages to setup.py, more perms in build.yaml --- .github/workflows/build.yaml | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d5b5b6b7..13a0a064 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -19,6 +19,8 @@ jobs: runs-on: ${{ matrix.os }} permissions: contents: write + pull-requests: write + repository-projects: write steps: - name: Check-out repository uses: actions/checkout@v4 diff --git a/setup.py b/setup.py index bb6bb72a..db76b27b 100755 --- a/setup.py +++ b/setup.py @@ -207,7 +207,7 @@ def get_gsl_config_win(): setup_args = dict( name = 'diffpy.pdffit2', version = versiondata.get('DEFAULT', 'version'), - packages = find_packages(), + packages = find_packages(include=['diffpy', 'diffpy.*']), test_suite = 'diffpy.pdffit2.tests', ext_modules = [pdffit2module], include_package_data = True,