Skip to content
Snippets Groups Projects
Commit f380d0fe authored by Benjamin Regler's avatar Benjamin Regler
Browse files

:construction: Edited setup and metadata files

parent 83f79d2b
No related branches found
No related tags found
1 merge request!1Add setup script
include README.md LICENSE NOTICE
{
"authors": [
"Benjamin, Reglerand",
"Matthias, Scheffler",
"Luca, Ghiringhelli"
"Regler, Benjamin",
"Scheffler, Matthias",
"Ghiringhelli, Luca M.",
],
"email": "refler@fhi-berlin.mpg.de",
"email": "regler@fhi-berlin.mpg.de",
"title": "Total cumulative mutual information",
"description": "This interactive notebook includes the original implementation of total cumulative mutual information (TCMI) to reproduce the main results presented in the publication.",
"url": "https://gitlab.mpcdf.mpg.de/nomad-lab/analytics-tcmi",
"link": "https://analytics-toolkit.nomad-coe.eu/hub/user-redirect/notebooks/tutorials/tcmi.ipynb",
"link_public": "https://analytics-toolkit.nomad-coe.eu/public/user-redirect/notebooks/tutorials/tcmi.ipynb",
"created": "",
"updated": "",
"created": "2020-01-14",
"updated": "2020-01-14",
"flags": {
"isPublic": false,
"featured": false,
......@@ -19,8 +19,10 @@
},
"labels": {
"application_keyword": [
"keyword1",
"keyword2"
"information theory",
"mutual information",
"cumulative entropy",
"feature selection"
],
"application_section": [
"Materials property prediction"
......@@ -32,8 +34,12 @@
"Tutorial"
],
"data_analytics_method": [
"Clustering"
"Clustering", "TCMI"
],
"language": [
"python",
"javascript"
],
"platform": [
"jupyter"
]
......
# !/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@package tcmi
@copyright Copyright (c) 2018+ Fritz Haber Institute of the Max Planck Society,
Benjamin Regler <regler@fhi-berlin.mpg.de>
@license See LICENSE file for details.
Licensed under the Apache License, Version 2.0 (the "License").
You may not use this file except in compliance with the License.
"""
import io
import json
import tcmi as pkg
from setuptools import setup, find_packages
with open('metainfo.json') as file:
with io.open('metainfo.json', encoding='utf-8') as file:
metainfo = json.load(file)
setup(
name='tcmi',
version='1.0',
name=pkg.__name__,
version=pkg.__version__,
author=', '.join(metainfo['authors']),
author_email=metainfo['email'],
url=metainfo['url'],
......@@ -14,4 +29,4 @@ setup(
long_description=metainfo['description'],
packages=find_packages(),
install_requires=['numpy', 'scipy', 'pandas', 'scikit-learn', 'joblib'],
)
)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment