Skip to content

Commit

Permalink
re-enable install_requires; fix README UTF8 loading problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Böck committed Jan 23, 2016
1 parent 6b491d6 commit 4ee5897
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
3 changes: 3 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
numpy>=1.8.1
scipy>=0.14
cython>=0.22.1
4 changes: 4 additions & 0 deletions readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
conda:

python:
setup_py_install: true
17 changes: 16 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from distutils.extension import Extension
from Cython.Distutils import build_ext

import io
import glob
import numpy as np

Expand Down Expand Up @@ -56,11 +57,24 @@
'Topic :: Multimedia :: Sound/Audio :: Analysis',
'Topic :: Scientific/Engineering :: Artificial Intelligence']

# installation requirements
install_requires = ['numpy>=1.8.1',
'scipy>=0.14',
'cython>=0.22.1']

# obtain a long description from README
try:
# needed to be able to read unicode files in Python 2 and 3
with io.open('README.rst', encoding='utf-8') as f:
long_description = f.read()
except IOError:
long_description = ''

# the actual setup routine
setup(name='madmom',
version=version,
description='Python audio signal processing library',
long_description=open('README.rst').read(),
long_description=long_description,
author='Department of Computational Perception, Johannes Kepler '
'University, Linz, Austria and Austrian Research Institute for '
'Artificial Intelligence (OFAI), Vienna, Austria',
Expand All @@ -74,4 +88,5 @@
scripts=scripts,
cmdclass={'build_ext': build_ext},
test_suite='nose.collector',
install_requires=install_requires,
classifiers=classifiers)

0 comments on commit 4ee5897

Please sign in to comment.