Include all "deploy" files within manifest

This commit is contained in:
Lance Edgar 2020-09-08 16:14:55 -05:00
parent c48f6d5def
commit 4145594de7
2 changed files with 7 additions and 1 deletions

View file

@ -1,2 +1,5 @@
include *.txt
include *.rst
# TODO: this seems heavy-handed?
recursive-include rattail_fabric2/deploy *

View file

@ -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__))