Skip to content

Commit

Permalink
fix bug: add headers to sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
vBaiCai committed Dec 28, 2019
1 parent 40b4879 commit 818a271
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
graft pypesq
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
from setuptools.command.build_ext import build_ext as _build_ext
import os

includes = ['pypesq']
try:
import numpy as np
includes = [os.path.join(np.get_include(), 'numpy')]
includes += [os.path.join(np.get_include(), 'numpy')]
except:
includes = []
pass

extension = Extension("pesq_core",
sources=["pypesq/pesq.c", "pypesq/dsp.c", "pypesq/pesqdsp.c", "pypesq/pesqio.c", "pypesq/pesqmain.c", "pypesq/pesqmod.c"],
Expand All @@ -22,7 +23,7 @@ def finalize_options(self):


setup(name='pypesq',
version='1.1',
version='1.2.4',
description="A package to compute pesq score.",
url='https://github.com/vBaiCai/python-pesq',
author_email='zhuroubaicai@gmail.com',
Expand Down

0 comments on commit 818a271

Please sign in to comment.