-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
79 lines (72 loc) · 2.2 KB
/
setup.py
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/usr/bin/env python
import os
import sys
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
readme = open('README.rst').read()
doclink = """
Documentation
-------------
The full documentation is at http://pybdm-docs.rtfd.org."""
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
setup(
name='pybdm',
version='0.1.0',
description='Python implementation of block decomposition method for approximating algorithmic complexity.',
long_description=readme + '\n\n' + doclink + '\n\n' + history,
author='Szymon Talaga',
maintainer='Szymon Talaga',
maintainer_email='[email protected]',
url='https://github.com/sztal/pybdm',
packages=[ *find_packages(exclude=('tests',)) ],
package_data={'pybdm': ['resources/*.pkl']},
include_package_data=True,
setup_requires=['pytest-runner'],
tests_require=[
'pylint>=2.1.1',
'pytest>=3.5.1',
'pytest-pylint>=0.12.2',
'pytest-doctestplus>=0.2.0',
'coverage>=4.5.1',
'codecov>=2.0.15',
'pytest-cov>=2.7.1',
'tox-conda>=0.2.0',
'joblib>=0.13.0'
],
test_suite='tests',
install_requires=[
'numpy>=1.15.4'
],
license='MIT',
zip_safe=False,
keywords=[
'bdm',
'ctm',
'aid',
'algorithmic information',
'algorithmic information dynamics',
'algorithmic complexity',
'kolmogorov complexity',
'k-complexity',
'description length',
'block decomposition method',
'coding theorem method',
'algorithmic information theory'
],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: PyPy',
],
)