Mercurial > hg > python-allan
comparison setup.py @ 3:9e56ffd701d4
Fix setup.py to install a real package
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Tue, 24 Mar 2015 18:22:40 +0100 |
parents | 3dcd4cfd8f82 |
children | 9d016a2a2702 |
comparison
equal
deleted
inserted
replaced
2:ff2192f47448 | 3:9e56ffd701d4 |
---|---|
1 from distutils.core import setup | 1 from setuptools import setup, find_packages |
2 from distutils.extension import Extension | 2 from setuptools.extension import Extension |
3 from Cython.Build import cythonize | 3 from Cython.Build import cythonize |
4 from numpy import get_include | 4 from numpy import get_include |
5 | 5 |
6 ext_modules = cythonize([Extension("_allan", ["_allan.pyx"]), ]) | 6 VERSION = '0.1' |
7 | 7 |
8 setup(ext_modules = ext_modules, | 8 setup(name='allan', |
9 version=VERSION, | |
10 keywords='', | |
11 author='Daniele Nicolodi', | |
12 author_email='daniele.nicolodi@obspm.fr', | |
13 license='GPLv3+', | |
14 packages=find_packages(), | |
15 package_dir={'': '.'}, | |
16 include_package_data=False, | |
17 zip_safe=False, | |
18 ext_modules = cythonize([Extension("_allan", ["_allan.pyx"]), ]), | |
9 include_dirs = get_include()) | 19 include_dirs = get_include()) |