forked from CrescentApricot/hcapy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
24 lines (21 loc) · 729 Bytes
/
setup.py
File metadata and controls
24 lines (21 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from setuptools import setup, find_packages, Extension
from Cython.Build import build_ext, cythonize
with open('README.md', encoding="utf8") as f:
readme = f.read()
with open('LICENSE', encoding="utf8") as f:
li = f.read()
setup(
name='hcapy',
version='0.0.2',
description='hca2wav wrapper working on Python3.',
long_description=readme,
author='CrescentApricot',
author_email='crescentapricot@users.noreply.github.com',
license=li,
url='https://github.com/CrescentApricot/hcapy',
packages=find_packages(exclude=('tests',)),
ext_modules=[
Extension("hcapy", sources=["module.pyx", "hca2wav/src/clHCA.cpp"], language="c++")
],
cmdclass={'build_ext': build_ext},
)