Skip to content

Commit a59c048

Browse files
committed
Bump version (v0.2.4 -> v0.2.5) + Fix package_data
1 parent 4f6fc59 commit a59c048

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

MANIFEST.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
recursive-include pangocairocffi VERSION
2+
recursive-include pangocairocffi c_definitions_*.txt
3+
recursive-include pangocairocffi ffi_pango.py

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ clean-test: ## remove test and coverage artifacts
5656
lint: ## check style with flake8
5757
flake8 pangocairocffi tests --exclude pangocairocffi/_generated/ffi.py
5858

59-
tests: ## run tests quickly with the default Python
59+
tests: clean ## run tests quickly with the default Python
6060
python setup.py test
6161

6262
tests-all: clean ## run tests on all minor python versions

NEWS.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Changelog
22
---------
33

4-
Version 0.2.2 - 0.2.4
4+
Version 0.2.2 - 0.2.5
55
.....................
66

77
Released on 2019-03-23.
@@ -27,6 +27,12 @@ easy to replicate manually.
2727
than relying on the file being generated, the file exists hardcoded in the
2828
repository.
2929

30+
- Version 0.2.5
31+
32+
- setuptools apparently does not follow the ``package_data`` rule.
33+
A ``MANIFEST.in`` file has been added to fix this.
34+
(see https://stackoverflow.com/a/14159430)
35+
3036
Version 0.2.2
3137
.............
3238

pangocairocffi/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.4
1+
0.2.5

setup.cfg

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,5 @@ install_requires =
3939
pangocffi >= 0.4.0
4040
python_requires = >= 3.5
4141

42-
[options.package_data]
43-
pangocairocffi = VERSION, *.txt
44-
45-
[options.packages.find]
46-
exclude = pangocairocffi._generated
47-
4842
[aliases]
4943
test=pytest

0 commit comments

Comments
 (0)