Skip to content

Commit 94f48ef

Browse files
committed
check-manifest build tool
1 parent 828c26d commit 94f48ef

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cache:
1010

1111
env:
1212
global:
13-
- pip_install_common='pip>=9.0 setuptools>=36.2 wheel>=0.30'
13+
- pip_install_common='pip>=9.0 setuptools>=43.0 wheel>=0.30'
1414
python:
1515
- 2.7
1616
- 3.5

MANIFEST.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,10 @@ recursive-include python2 *.py *.txt
22
recursive-include python3 *.py *.txt
33
graft test
44
graft tests
5+
include *.md
6+
include CHANGELOG
7+
include LICENSE
58
include python2/httplib2/test/*.txt
69
include requirements*.txt
10+
global-exclude __pycache__
11+
global-exclude *.py[cod]

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ requires = ["setuptools", "wheel"]
33

44
[tool.black]
55
line-length = 121
6+
7+
[tool.check-manifest]
8+
ignore = [".travis.yml", "script/*", "*.tex"]

script/release

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,11 @@ interactive() {
9090
local venv=./venv-release
9191
if [[ ! -d "$venv" ]] ; then
9292
virtualenv $venv
93-
$venv/bin/pip install -U pip setuptools wheel twine
93+
$venv/bin/pip install -U check-manifest pip 'setuptools>=43.0' wheel twine
9494
fi
9595
$venv/bin/python setup.py clean --all
9696
$venv/bin/python setup.py sdist bdist_wheel
97+
$venv/bin/check-manifest || echo "FIXME check-manifest" >&2
9798

9899
if confirm "Upload to PyPI? Use in special situation, normally CI (Travis) will upload to PyPI. [yN] " ; then
99100
$venv/bin/twine upload dist/* || exit 1

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy