2017-01-10 10:14:51 +00:00
|
|
|
default:
|
2017-01-13 07:42:23 +00:00
|
|
|
./get_resources.sh
|
|
|
|
mkdir -p build
|
|
|
|
cd build && cmake .. && make
|
|
|
|
@echo "\033[0;37;44mYou can now copy the directory \033[0;37;40mspintrum\033[0;37;44m to your Python installation.\033[0m"
|
|
|
|
python3 setup.py sdist
|
|
|
|
@echo "\033[0;37;44mYou can now copy the directory \033[0;37;40mspintrum\033[0;37;44m to your Python installation.\033[0m"
|
|
|
|
@echo "\033[0;37;44mOr you can now use \033[0;37;40mmake install\033[0;37;44m to install to your Python3 using pip3\033[0m"
|
|
|
|
|
2017-01-10 10:14:51 +00:00
|
|
|
|
|
|
|
install:
|
2017-01-13 07:42:23 +00:00
|
|
|
pip3 install dist/spintrum* --upgrade
|
2017-01-10 10:14:51 +00:00
|
|
|
|
|
|
|
clean:
|
2017-01-13 07:42:23 +00:00
|
|
|
rm -rf 3rdparty
|
2017-01-10 10:14:51 +00:00
|
|
|
rm -rf dist
|
2017-01-12 15:51:48 +00:00
|
|
|
rm -rf build/*
|
2017-01-10 10:14:51 +00:00
|
|
|
rm -rf __pycache__
|
|
|
|
rm -rf spintrum.egg-info
|
|
|
|
rm -rf spintrum/lib
|
|
|
|
rm -rf spintrum/*.pyc
|
|
|
|
rm -rf spintrum/__pycache__
|
2017-01-12 15:51:48 +00:00
|
|
|
rm -rf CMakeCache.txt
|
|
|
|
rm -rf CMakeFiles
|
|
|
|
rm -rf cmake_install.cmake
|
2017-01-13 11:05:58 +00:00
|
|
|
rm -rf TEMP_VERSION.txt
|