Commit eed3b71b authored by Samer Afach's avatar Samer Afach
Browse files

Added examples to the installation, and modified the Makefile to remove the temp version file.

parent 36b08027
recursive-include spintrum/OpenBLAS_install *
recursive-include src *
recursive-include examples *
recursive-include spintrum/examples *
include CMakeLists.txt
include get_version.py
......@@ -23,3 +23,4 @@ clean:
rm -rf CMakeCache.txt
rm -rf CMakeFiles
rm -rf cmake_install.cmake
rm -rf TEMP_VERSION.txt
......@@ -179,7 +179,7 @@ def recursive_glob(rootdir, pattern='*'):
for looproot, _, filenames in os.walk(rootdir)
for filename in filenames
if fnmatch.fnmatch(filename, pattern)]
return lst
return list(lst)
def get_openblas():
......@@ -260,10 +260,10 @@ setup(name='spintrum',
author_email='samer@afach.de',
license='MPL',
packages=['spintrum'],
package_data={'spintrum': [lib_file] + recursive_glob("examples")},
install_requires=['numpy', 'mpmath'],
python_requires = '>=3.3',
include_package_data=True, # enable including files with MANIFEST.in
package_data={'': [lib_file]},
zip_safe=False,
cmdclass=dict(build=DependenciesBuilder)
)
Supports Markdown
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