Skip to content

Commit 36c2b53

Browse files
authored
Merge pull request #1517 from larsoner/packaging
FIX: Packaging and 1.17.1 bump
2 parents 4d0d484 + 0673227 commit 36c2b53

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ before_install:
2929
- virtualenv --python=python venv
3030
- source venv/bin/activate
3131
- python --version # just to check
32-
- pip install -U pip wheel # upgrade to latest pip find 3.5 wheels; wheel to avoid errors
33-
- retry pip install pytest pytest-cov pytest-dependency flake8 coverage codecov chardet setuptools docutils
32+
- pip install -U pip wheel # upgrade to latest pip find 3.5 wheels; wheel to avoid errors
33+
- retry pip install pytest pytest-cov pytest-dependency flake8 coverage codecov chardet setuptools docutils check-manifest
3434
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then retry pip install aspell-python-py2; fi
3535
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "3" ]; then retry pip install aspell-python-py3; fi
3636
- cd $SRC_DIR
@@ -49,6 +49,7 @@ script:
4949
python setup.py check --restructuredtext --strict;
5050
fi;
5151
- pytest codespell_lib
52+
- make check-manifest
5253

5354
after_success:
5455
- codecov

MANIFEST.in

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
include codespell_lib/__init__.py
22
recursive-include codespell_lib *.py
3-
include codespell_lib/data/dictionary.txt
3+
include codespell_lib/data/dictionary*.txt
44
include codespell_lib/data/linux-kernel.exclude
55
include COPYING
6+
include bin/codespell
7+
exclude *.yml *.yaml
8+
exclude .coveragerc
9+
exclude example example/* snap snap/* tools tools/*
10+
exclude Makefile
11+
exclude codespell.1.include

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ trim-dictionaries:
3939
sed -E -i.bak -e 's/^[[:space:]]+//; s/[[:space:]]+$$//; /^$$/d' $$dictionary && rm $$dictionary.bak; \
4040
done
4141

42+
check-manifest:
43+
check-manifest
44+
4245
pypi:
4346
python setup.py sdist register upload
4447

codespell_lib/_codespell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
USAGE = """
3232
\t%prog [OPTIONS] [file1 file2 ... fileN]
3333
"""
34-
VERSION = '1.17.0'
34+
VERSION = '1.17.1'
3535

3636
# Users might want to link this file into /usr/local/bin, so we resolve the
3737
# symbolic link path to the real path if necessary.

0 commit comments

Comments
 (0)