File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 35
35
"""
36
36
37
37
# standard library imports
38
+ import importlib .metadata
38
39
import importlib .resources
39
40
import os
40
41
from logging import DEBUG , basicConfig
41
42
43
+ # Package version
44
+ try :
45
+ __version__ = importlib .metadata .version ("decomp" )
46
+ except importlib .metadata .PackageNotFoundError :
47
+ __version__ = "unknown"
48
+
42
49
# local imports
43
50
from .semantics .uds import (
44
51
NormalizedUDSAnnotation ,
56
63
)
57
64
58
65
__all__ = [
66
+ '__version__' ,
59
67
'NormalizedUDSAnnotation' ,
60
68
'RawUDSAnnotation' ,
61
69
'UDSCorpus' ,
Original file line number Diff line number Diff line change 24
24
author = 'Aaron Steven White'
25
25
26
26
# The full version, including alpha/beta/rc tags
27
- release = '0.3.0 '
28
- version = '0.3.0 '
27
+ release = '0.3.1 '
28
+ version = '0.3.1 '
29
29
30
30
# -- General configuration ---------------------------------------------------
31
31
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
5
5
[project ]
6
6
name = " decomp"
7
- version = " 0.3.0 "
7
+ version = " 0.3.1 "
8
8
description = " Toolkit for working with Universal Decompositional Semantics graphs"
9
9
authors = [
10
10
{name = " Aaron Steven White" , email = " aaron.white@rochester.edu" }
@@ -65,11 +65,11 @@ parsing = [
65
65
]
66
66
67
67
[tool .setuptools ]
68
- packages = [ " decomp " ]
68
+ packages = { find = {}}
69
69
include-package-data = true
70
70
71
71
[tool .setuptools .package-data ]
72
- decomp = [" data/*" ]
72
+ decomp = [" data/**/* " ]
73
73
74
74
[tool .pytest .ini_options ]
75
75
testpaths = [" tests" ]
You can’t perform that action at this time.
0 commit comments