From 4145594de78c503cc34fb0bb9722ddbb63e0147e Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 8 Sep 2020 16:14:55 -0500 Subject: [PATCH] Include all "deploy" files within manifest --- MANIFEST.in | 3 +++ tasks.py | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 3a6a904..fb85dc7 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,5 @@ include *.txt include *.rst + +# TODO: this seems heavy-handed? +recursive-include rattail_fabric2/deploy * diff --git a/tasks.py b/tasks.py index 0fbc675..3a7e5d9 100644 --- a/tasks.py +++ b/tasks.py @@ -2,7 +2,7 @@ ################################################################################ # # Rattail -- Retail Software Framework -# Copyright © 2010-2018 Lance Edgar +# Copyright © 2010-2020 Lance Edgar # # This file is part of Rattail. # @@ -42,5 +42,8 @@ def release(c): Release a new version of 'rattail-fabric2'. """ shutil.rmtree('rattail_fabric2.egg-info') + # TODO: this seems heavy-handed? for sake of recursive-include in MANIFEST + # TODO: what i esp. don't like is, this doesn't consider .gitignore + c.run("find . -name '*~' -delete") c.run('python setup.py sdist --formats=gztar') c.run('twine upload dist/rattail-fabric2-{}.tar.gz'.format(__version__))