Skip to content

Commit

Permalink
adding so files as package data
Browse files Browse the repository at this point in the history
  • Loading branch information
rallen10 committed Aug 14, 2024
1 parent d71e3b4 commit 8968933
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 9 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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"]
2 changes: 1 addition & 1 deletion src/kspdg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8968933

Please sign in to comment.