diff --git a/implementations/python/Makefile b/implementations/python/Makefile index cd8520c..09fda38 100644 --- a/implementations/python/Makefile +++ b/implementations/python/Makefile @@ -13,7 +13,9 @@ clean: rm -f .coverage rm -rf preserves.egg-info build dist -publish: clean +publish: clean build # sudo apt install python3-wheel twine - python3 setup.py sdist bdist_wheel twine upload dist/* + +build: + python3 setup.py sdist bdist_wheel diff --git a/implementations/python/setup.py b/implementations/python/setup.py index f8f739a..26e9db0 100644 --- a/implementations/python/setup.py +++ b/implementations/python/setup.py @@ -5,7 +5,7 @@ except ImportError: setup( name="preserves", - version="0.7.1", + version="0.7.2", author="Tony Garnock-Jones", author_email="tonyg@leastfixedpoint.com", license="Apache Software License", @@ -21,4 +21,6 @@ setup( description="Experimental data serialization format", install_requires=[], python_requires=">=3.6, <4", + setup_requires=['setuptools_scm'], + include_package_data=True, )