annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
9e56ffd701d4 Fix setup.py to install a real package
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
1 from setuptools import setup, find_packages
9e56ffd701d4 Fix setup.py to install a real package
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
2 from setuptools.extension import Extension
0
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
3 from Cython.Build import cythonize
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
4 from numpy import get_include
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
5
3
9e56ffd701d4 Fix setup.py to install a real package
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
6 VERSION = '0.1'
0
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
7
3
9e56ffd701d4 Fix setup.py to install a real package
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
8 setup(name='allan',
9e56ffd701d4 Fix setup.py to install a real package
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
9 version=VERSION,
9e56ffd701d4 Fix setup.py to install a real package
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
10 keywords='',
9e56ffd701d4 Fix setup.py to install a real package
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
11 author='Daniele Nicolodi',
9e56ffd701d4 Fix setup.py to install a real package
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
12 author_email='daniele.nicolodi@obspm.fr',
9e56ffd701d4 Fix setup.py to install a real package
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
13 license='GPLv3+',
9e56ffd701d4 Fix setup.py to install a real package
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
14 packages=find_packages(),
9e56ffd701d4 Fix setup.py to install a real package
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
15 package_dir={'': '.'},
9e56ffd701d4 Fix setup.py to install a real package
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
16 include_package_data=False,
9e56ffd701d4 Fix setup.py to install a real package
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
17 zip_safe=False,
9e56ffd701d4 Fix setup.py to install a real package
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
18 ext_modules = cythonize([Extension("_allan", ["_allan.pyx"]), ]),
0
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
19 include_dirs = get_include())