summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDick Marinus <dick@mrns.nl>2019-01-25 20:52:09 +0100
committerDick Marinus <dick@mrns.nl>2019-01-25 20:52:09 +0100
commitb54d3754263aa92da9b02d62fc734c81924f9618 (patch)
treebed38eae8b2c973cff51d361586d3ef58aaaa57c
parent3eff3bbebd477a95c3a78fa54e876e1ca56805f0 (diff)
Remove build dir before running sdistinternal/clean_before_sdist
-rw-r--r--changelog.rst1
-rw-r--r--release.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.rst b/changelog.rst
index fda37b4a..4d2e9868 100644
--- a/changelog.rst
+++ b/changelog.rst
@@ -11,6 +11,7 @@ Internal:
* (Fixup) Clean up and add behave logging. (Thanks: `Marcin Cieślak`_, `Dick Marinus`_)
* Override VISUAL environment variable for behave tests. (Thanks: `Marcin Cieślak`_)
+* Remove build dir before running sdist, remove stray files from wheel distribution. (Thanks: `Dick Marinus`_)
2.0.2:
======
diff --git a/release.py b/release.py
index 15059c68..6526128d 100644
--- a/release.py
+++ b/release.py
@@ -67,7 +67,7 @@ def create_git_tag(tag_name):
def create_distribution_files():
- run_step('python', 'setup.py', 'sdist', 'bdist_wheel')
+ run_step('python', 'setup.py', 'clean', '--all', 'sdist', 'bdist_wheel')
def upload_distribution_files():