Skip to content
Snippets Groups Projects
Commit 51dae8f4 authored by Blaß, Michael's avatar Blaß, Michael :speech_balloon:
Browse files

Updated setup

parent 26b37aef
No related branches found
No related tags found
No related merge requests found
[build-system]
requires = [
'setuptools',
'wheel',
'numpy']
build-backend = "setuptools.build_meta"
[metadata]
name = chainsaddiction
version = 0.1
description = Discrete time, finit state space, stationary Hidden Markov Model.
long_description = file: README.md
license = BSD 3-Clause License
author = Michael Blaß
author_email = mblass@posteo.net
keywords = music, analysis, hmm
project_urls =
Source code = https://gitlab.rrz.uni-hamburg.de/bal7668/chainsaddiction
Bug Tracker = https://gitlab.rrz.uni-hamburg.de/bal7668/chainsaddiction/-/issues
classifiers =
License :: OSI Approved :: BSD License
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
Topic :: Scientific/Engineering
Topic :: Multimedia :: Sound/Audio :: Analysis
Intended Audience :: Science/Research
Intended Audience :: Information Technology
License :: OSI Approved :: BSD License
[options]
zip_safe = False
packages = hmm
python_requires >= "3.7"
install_requires =
numpy >= '1.20'
#/usr/bin/env python3
from setuptools import setup, Extension
from numpy.distutils.misc_util import get_numpy_include_dirs
from setuptools.config import read_configuration
import numpy as np
setup(
name = 'chainsaddiction',
version = '0.1',
description = 'Discrete time, finit state space, stationary Hidden Markov Model.',
install_requires = ['numpy>=1.15.0'],
include_dirs = get_numpy_include_dirs(),
ext_modules = [
Extension(
'chainsaddiction',
config = read_configuration('./setup.cfg')
ext_hmm = Extension('chainsaddiction',
sources = ['hmm/stats.c',
'hmm/fwbw.c',
'hmm/em.c',
'hmm/hmm.c',
'hmm/hmm_module.c'],
include_dirs = ['include', np.get_include()])
include_dirs = ['./include/'])
]
)
setup(ext_modules = [ext_hmm])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment