mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-06 05:42:36 +02:00
Maint/auto pkg versions (#82)
* Remove need to manage setup.py version * Update YAMLs
This commit is contained in:
parent
cdace22ee4
commit
3fb75c617b
21 changed files with 374 additions and 354 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue