Commit e9557cf7 authored by Christoph Groth's avatar Christoph Groth Committed by Joseph Weston

setup.py: install pxd and header files as well

This allows third party modules to subclass Kwant's cdef classes.
https://cython.readthedocs.io/en/latest/src/userguide/sharing_declarations.html#search-paths-for-definition-files
parent 75852675
Pipeline #15418 passed with stages
in 44 minutes and 26 seconds
......@@ -562,6 +562,7 @@ def main():
Operating System :: MacOS :: MacOS X
Operating System :: Microsoft :: Windows"""
packages = find_packages('.')
setup(name='kwant',
version=version,
author='C. W. Groth (CEA), M. Wimmer, '
......@@ -573,7 +574,8 @@ def main():
platforms=["Unix", "Linux", "Mac OS-X", "Windows"],
url="http://kwant-project.org/",
license="BSD",
packages=find_packages('.'),
packages=packages,
package_data={p: ['*.pxd', '*.h'] for p in packages},
cmdclass={'build': build,
'sdist': sdist,
'build_ext': build_ext,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment