2021-12-01 11:23:19 -07:00
|
|
|
all: release
|
|
|
|
|
2022-06-09 02:31:48 -06:00
|
|
|
test:
|
|
|
|
@echo Running tests...
|
|
|
|
python -m tests.all
|
|
|
|
|
2021-12-01 11:23:19 -07:00
|
|
|
clean:
|
|
|
|
@echo Cleaning...
|
|
|
|
-rm -r ./build
|
|
|
|
-rm -r ./dist
|
|
|
|
|
|
|
|
remove_symlinks:
|
|
|
|
@echo Removing symlinks for build...
|
|
|
|
-rm Examples/RNS
|
|
|
|
-rm RNS/Utilities/RNS
|
|
|
|
|
|
|
|
create_symlinks:
|
|
|
|
@echo Creating symlinks...
|
|
|
|
-ln -s ../RNS ./Examples/
|
|
|
|
-ln -s ../../RNS ./RNS/Utilities/
|
|
|
|
|
|
|
|
build_wheel:
|
|
|
|
python3 setup.py sdist bdist_wheel
|
|
|
|
|
2022-06-09 02:31:48 -06:00
|
|
|
release: test remove_symlinks build_wheel create_symlinks
|
2021-12-01 11:23:19 -07:00
|
|
|
|
|
|
|
upload:
|
|
|
|
@echo Uploading to PyPi...
|
|
|
|
twine upload dist/*
|