From a667e24b9e5b77e042a8460940e7f6deabbdad06 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Feb 01 2018 05:45:18 +0000 Subject: [PATCH 1/2] Exclude pyc and __pycache__ globally in sdist Signed-off-by: Chenxiong Qi --- diff --git a/MANIFEST.in b/MANIFEST.in index 37cd5e2..b935e18 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -10,3 +10,6 @@ recursive-include etc * include requirements/README.rst include requirements/*.txt + +global-exclude *.pyc +global-exclude __pycache__ From b395fbf350cb7a371567b24994bedc58003f5c52 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Feb 01 2018 05:49:04 +0000 Subject: [PATCH 2/2] Let git ignore more directories To ignore build/ created by setup.py build command, .tox/, and htmlcov/ that is usually created by coverage for HTML report. Signed-off-by: Chenxiong Qi --- diff --git a/.gitignore b/.gitignore index e0c26c1..b83d86d 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,7 @@ rpkg.egg-info/ /sources .coverage .vscode + +.tox/ +/build/ +htmlcov/