go2: test go: rolling_checksum_ss_mod.py test-publish rolling_checksum_ss_mod.so: ../rolling_checksum_mod.m4 mkdir -p work m4 -Dpy=1 < ../rolling_checksum_mod.m4 > work/rolling_checksum_ss_mod.py cd work && /usr/local/cpython-3.11/bin/python3 -m shedskin --extmod rolling_checksum_ss_mod.py cd work && make rolling_checksum_ss_mod.so cp work/rolling_checksum_ss_mod.so . # publish: clean rolling_checksum_py_mod.py # python3 setup.py sdist # twine upload dist/* # # test-publish: clean rolling_checksum_py_mod.py # python3 setup.py sdist bdist_wheel # twine upload --repository-url https://test.pypi.org/legacy/ dist/* rcm-input-data: ../gen-rcm-input-data > rcm-input-data test: rolling_checksum_ss_mod.so rcm-input-data python3 ../test-rolling_checksum_mod --shedskin setup: ../install-package --deb-packages 'libgc-dev libpcre3-dev' clean: rm -rf build dist rolling_checksum_py_mod.egg-info rcm-input-data __pycache__ rm -f rcm-input-data rm -rf work rm -f rolling_checksum_ss_mod.so