-
Notifications
You must be signed in to change notification settings - Fork 60
/
setup.py
41 lines (34 loc) · 1.43 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
import os
from io import open
from setuptools import find_packages, setup
packages = ['elfi'] + ['elfi.' + p for p in find_packages('elfi')]
# include C++ examples
package_data = {'elfi.examples': ['cpp/Makefile', 'cpp/*.txt', 'cpp/*.cpp']}
with open('requirements.txt', 'r') as f:
requirements = f.read().splitlines()
optionals = {'doc': ['Sphinx'], 'graphviz': ['graphviz>=0.7.1']}
# read version number
__version__ = open('elfi/__init__.py').readlines()[-1].split(' ')[-1].strip().strip("'\"")
setup(
name='elfi',
keywords='abc likelihood-free statistics',
packages=packages,
package_data=package_data,
version=__version__,
author='ELFI authors',
author_email='elfi-support@hiit.fi',
url='http://elfi.readthedocs.io',
install_requires=requirements,
extras_require=optionals,
description='ELFI - Engine for Likelihood-free Inference',
long_description=(open('docs/description.rst').read()),
license='BSD',
classifiers=[
'Programming Language :: Python :: 3.9', 'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Mathematics', 'Operating System :: OS Independent',
'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License'
],
zip_safe=False)