From a59c048e80d6e9e528ef8e8313bbce958c99e6c2 Mon Sep 17 00:00:00 2001 From: Leif Gehrmann Date: Sat, 23 Mar 2019 23:26:11 +0000 Subject: [PATCH] Bump version (v0.2.4 -> v0.2.5) + Fix package_data --- MANIFEST.in | 3 +++ Makefile | 2 +- NEWS.rst | 8 +++++++- pangocairocffi/VERSION | 2 +- setup.cfg | 6 ------ 5 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..b41dc07 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,3 @@ +recursive-include pangocairocffi VERSION +recursive-include pangocairocffi c_definitions_*.txt +recursive-include pangocairocffi ffi_pango.py diff --git a/Makefile b/Makefile index ccb46a8..43cc4ad 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,7 @@ clean-test: ## remove test and coverage artifacts lint: ## check style with flake8 flake8 pangocairocffi tests --exclude pangocairocffi/_generated/ffi.py -tests: ## run tests quickly with the default Python +tests: clean ## run tests quickly with the default Python python setup.py test tests-all: clean ## run tests on all minor python versions diff --git a/NEWS.rst b/NEWS.rst index e411190..3d3d7f9 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -1,7 +1,7 @@ Changelog --------- -Version 0.2.2 - 0.2.4 +Version 0.2.2 - 0.2.5 ..................... Released on 2019-03-23. @@ -27,6 +27,12 @@ easy to replicate manually. than relying on the file being generated, the file exists hardcoded in the repository. +- Version 0.2.5 + + - setuptools apparently does not follow the ``package_data`` rule. + A ``MANIFEST.in`` file has been added to fix this. + (see https://stackoverflow.com/a/14159430) + Version 0.2.2 ............. diff --git a/pangocairocffi/VERSION b/pangocairocffi/VERSION index abd4105..3a4036f 100644 --- a/pangocairocffi/VERSION +++ b/pangocairocffi/VERSION @@ -1 +1 @@ -0.2.4 +0.2.5 diff --git a/setup.cfg b/setup.cfg index fbc9292..5ab1010 100644 --- a/setup.cfg +++ b/setup.cfg @@ -39,11 +39,5 @@ install_requires = pangocffi >= 0.4.0 python_requires = >= 3.5 -[options.package_data] -pangocairocffi = VERSION, *.txt - -[options.packages.find] -exclude = pangocairocffi._generated - [aliases] test=pytest