forked from pafoster/pyitlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (49 loc) · 1.81 KB
/
setup.py
File metadata and controls
55 lines (49 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import os
from setuptools import setup
def source_root_dir():
"""Return the path to the root of the source distribution"""
return os.path.abspath(os.path.dirname(__file__))
def read_version():
"""Read the version from the ``pyitlib.version`` module"""
filename = os.path.join(source_root_dir(), 'pyitlib/pyitlib_version.py')
with open(filename) as fin:
namespace = {}
exec(fin.read(), namespace) # pylint: disable=exec-used
return namespace['__version__']
setup(
name='pyitlib',
version=read_version(),
description='A library of information-theoretic methods',
long_description=open('README.rst').read(),
url='https://github.com/pafoster/pyitlib',
download_url='https://github.com/pafoster/pyitlib/archive/0.2.2.tar.gz',
author='Peter Foster',
author_email='pyitlib@gmx.us',
license='MIT',
packages=['pyitlib', ],
zip_safe=False,
install_requires=[
'pandas>=0.20.2'
'numpy>=1.9.2',
'scikit-learn>=0.16.0',
'scipy>=1.0.1',
'future>=0.16.0'
],
keywords=['entropy', 'information theory', 'Shannon information',
'uncertainty', 'correlation', 'statistics',
'machine learning', 'data analysis', 'data science'],
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Information Analysis',
],
)