Skip to content
Snippets Groups Projects
Commit 58bd31fe authored by Adam Fekete's avatar Adam Fekete
Browse files

Merge branch 'add_setup_script' into 'master'

Add setup script

See merge request nomad-lab/analytics-tcmi!1
parents 5d21883b 88870cd0
No related branches found
No related tags found
1 merge request!1Add setup script
.idea
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
......
include README.md LICENSE NOTICE
File moved
File moved
File moved
File moved
File moved
File moved
File moved
{
"authors": [
"Regler, Benjamin",
"Scheffler, Matthias",
"Ghiringhelli, Luca M."
],
"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",
"updated": "2020-01-14",
"flags": {
"featured": true,
"top_of_list": false
},
"labels": {
"application_keyword": [
"information theory",
"mutual information",
"cumulative entropy",
"feature selection"
],
"application_section": [
"Materials property prediction"
],
"application_system": [
"System"
],
"category": [
"Tutorial"
],
"data_analytics_method": [
"Clustering", "TCMI"
],
"language": [
"python",
"javascript"
],
"platform": [
"jupyter"
]
}
}
\ No newline at end of file
setup.py 0 → 100644
# !/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 io.open('metainfo.json', encoding='utf-8') as file:
metainfo = json.load(file)
setup(
name=pkg.__name__,
version=pkg.__version__,
author=', '.join(metainfo['authors']),
author_email=metainfo['email'],
url=metainfo['url'],
description=metainfo['title'],
long_description=metainfo['description'],
packages=find_packages(),
install_requires=['numpy', 'scipy', 'pandas', 'scikit-learn', 'joblib'],
)
\ No newline at end of file
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment