From 89689334de1e457d6487549236559058ac0beb2d Mon Sep 17 00:00:00 2001 From: Ross Allen Date: Wed, 14 Aug 2024 11:08:50 -0700 Subject: [PATCH] adding so files as package data --- CHANGELOG.md | 2 +- pyproject.toml | 12 +++++++++--- src/kspdg/__init__.py | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c03963..30a8ea3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [UNRELEASED] - XXXX.XX.XX +## [v0.8.1] - 2024.08.14 ### Added diff --git a/pyproject.toml b/pyproject.toml index d6f5317..1a75bde 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ # Specification (technical, formal): https://packaging.python.org/en/latest/specifications/pyproject-toml/ [build-system] -requires = ["setuptools >= 61.0.0"] # to 61 or greater support single-source versioning +requires = ["setuptools >= 61.0"] # to 61 or greater support single-source versioning build-backend = "setuptools.build_meta" [project] @@ -32,9 +32,15 @@ version = {attr = "kspdg.__version__"} # ensure that private_src pyarmor shared object files are part of kspdg build [tool.setuptools.package-data] -kspdg = ["*.so"] +kspdg = [ + "private_src/python3_9/pyarmor_runtime_000000/*.so", + "private_src/python3_12/pyarmor_runtime_000000/*.so" +] +# Further dependencies for dev, testing, and envrionments with advanced bots +# Kept as optional so that there are lighter-weight versions of the library +# available [project.optional-dependencies] testing = ["pytest","matplotlib"] adv_bots = ["juliacall"] -full = ["kspdg[testing,adv_bots]"] +full = ["kspdg[testing,adv_bots]","build"] diff --git a/src/kspdg/__init__.py b/src/kspdg/__init__.py index 48d0a9e..5737267 100644 --- a/src/kspdg/__init__.py +++ b/src/kspdg/__init__.py @@ -5,7 +5,7 @@ # Single-sourcing package version # https://packaging.python.org/guides/single-sourcing-package-version/ -__version__ = "0.8.1-alpha.1" +__version__ = "0.8.1" # these imports make the individual environments accessible at the top-level # of the library and assign an environment version number