Skip to content

Commit 43bb6a3

Browse files
committed
Make sure everything in repo is also in the sdist
1 parent 1468a45 commit 43bb6a3

File tree

5 files changed

+36
-9
lines changed

5 files changed

+36
-9
lines changed

MANIFEST.in

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,21 @@ include MANIFEST.in
33
include LICENSE
44
include README.md
55

6-
include tox.ini
7-
include .mypy.ini
6+
include .bumpversion.cfg
7+
include .coveragerc
88
include .editorconfig
99
include .flake8
10+
include .mypy.ini
11+
12+
include codecov.yml
13+
include tox.ini
14+
15+
include poetry.lock
1016
include pyproject.toml
1117

1218
graft graphql
1319
graft tests
14-
recursive-include docs *.rst conf.py make.bat *.jpg *.png *.gif
20+
recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
1521
prune docs/_build
1622

1723
global-exclude *.py[co] __pycache__

poetry.lock

Lines changed: 15 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@ tox = "^3.9"
4141
codecov = "^2.0"
4242
sphinx = "^2.0"
4343
sphinx_rtd_theme = "^0.4"
44+
check-manifest = "^0.38"
4445
bump2version = "^0.5"
4546

47+
[tool.black]
48+
target-version = ['py36', 'py37', 'py38']
4649
[build-system]
4750
requires = ["poetry==0.12.11"]
4851
build-backend = "poetry.masonry.api"
4952

50-
[tool.black]
51-
target-version = ['py36', 'py37', 'py38']

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
"mypy",
4343
"tox",
4444
"codecov",
45+
"check-manifest",
46+
"bump2version",
4547
],
4648
packages=find_packages(include=["graphql"]),
4749
include_package_data=True,

tox.ini

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{36,37}, black, flake8, mypy
2+
envlist = py{36,37}, black, flake8, mypy, manifest
33

44
[testenv:black]
55
basepython = python3.7
@@ -19,6 +19,12 @@ deps = mypy
1919
commands =
2020
mypy graphql
2121

22+
[testenv:manifest]
23+
basepython = python3.7
24+
deps = check-manifest
25+
commands =
26+
check-manifest -v
27+
2228
[testenv]
2329
setenv =
2430
PYTHONPATH = {toxinidir}

0 commit comments

Comments
 (0)