Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 5472bc28 authored by hhakim's avatar hhakim
Browse files

Prepare setup.py to generate eggs and wheels binary packages.

- Using setuptools instead of disutils,
- specifying requirements (numpy, scipy),
- package name 'pyfaust',
- and todos.

[skip ci]
parent ab78d4db
No related branches found
No related tags found
No related merge requests found
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
## ## ## ##
############################################################################## ##############################################################################
from setuptools import setup, Extension
from distutils.core import setup, Extension #from distutils.core import setup, Extension
from Cython.Build import cythonize from Cython.Build import cythonize
import numpy import numpy
...@@ -54,6 +54,14 @@ PyFaust = Extension('FaustCorePy', ...@@ -54,6 +54,14 @@ PyFaust = Extension('FaustCorePy',
) )
setup( setup(
name = 'FaustCorePy', name = 'pyfaust',
version = '@CPACK_PACKAGE_VERSION@',
ext_modules = cythonize(PyFaust), ext_modules = cythonize(PyFaust),
packages = [ 'pyfaust' ],
url = 'http://faust.inria.fr',
description = 'TODO',
long_description = 'TODO',
classifiers = [ 'TODO' ],
install_requires = [ 'scipy', 'numpy' ] #ENOTE: order matters (last pkg installed first)
#TODO: data_files, license
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment