diff --git a/eossr/metadata/schema/__init__.py b/eossr/metadata/schema/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..bbbc908ac0a3c8e411ba39c5744c68baab717b20 --- /dev/null +++ b/eossr/metadata/schema/__init__.py @@ -0,0 +1,11 @@ +import json +import pkg_resources + + +def codemeta(): + return json.load(pkg_resources.resource_stream(__name__, 'codemeta.json')) + + + +def zenodo(): + return json.load(pkg_resources.resource_stream(__name__, '.zenodo.json')) \ No newline at end of file diff --git a/setup.py b/setup.py index bc827db0311d309925b1731af7a3513c9abdd9b4..6ae6b4597b98c37861c0fe85ebfae30d83a56e24 100644 --- a/setup.py +++ b/setup.py @@ -29,8 +29,8 @@ setup( scripts=['eossr/scripts/parse_last_release_git.sh'], tests_require=['pytest'], author='Thomas Vuillaume & Enrique Garcia', - author_email='vuillaume<at>lapp.in2p3.fr', + author_email='vuillaume@lapp.in2p3.fr', url='https://gitlab.in2p3.fr/escape2020/wp3/eossr', license='MIT', - entry_points=entry_points + entry_points=entry_points, )