File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -876,3 +876,19 @@ def get_ref_from(self, files=None):
876876 files = set (files )
877877
878878 return self .CrossRef .load_ref_from_by_file (files )
879+
880+ @property
881+ def Alternatives (self ):
882+ """Object of "Alternatives" extension."""
883+ return self .__get_ext_obj ("Alternatives" )
884+
885+ def get_canonical_path (self , path ):
886+ """Returns a canonical path for a given path
887+
888+ For example. if "/lib/header.h" and "/lib/x86_64/header.h" files are the same,
889+ then:
890+ * get_canonical_path("/lib/header.h") == "/lib/header.h"
891+ * get_canonical_path("/lib/x86_64/header.h") == "/lib/header.h"
892+ """
893+
894+ return self .Alternatives .get_canonical_path (path )
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ def finalize_options(self):
220220
221221setuptools .setup (
222222 name = "clade" ,
223- version = "4.0.2 " ,
223+ version = "4.0.3 " ,
224224 author = "Ilya Shchepetkov" ,
225225 author_email = "shchepetkov@ispras.ru" ,
226226 url = "https://github.com/17451k/clade" ,
You can’t perform that action at this time.
0 commit comments