Maint/auto pkg versions (#82)

* Remove need to manage setup.py version

* Update YAMLs
This commit is contained in:
cybermaggedon 2024-09-30 16:38:50 +01:00 committed by GitHub
parent cdace22ee4
commit 3fb75c617b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 374 additions and 354 deletions

View file

@ -1,10 +1,18 @@
import setuptools
import os
import importlib
with open("README.md", "r") as fh:
long_description = fh.read()
version = "0.11.7"
# Load a version number module
spec = importlib.util.spec_from_file_location(
'version', 'trustgraph/core_version.py'
)
version_module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(version_module)
version = version_module.__version__
setuptools.setup(
name="trustgraph-core",