Include all "deploy" files within manifest
This commit is contained in:
parent
c48f6d5def
commit
4145594de7
|
@ -1,2 +1,5 @@
|
||||||
include *.txt
|
include *.txt
|
||||||
include *.rst
|
include *.rst
|
||||||
|
|
||||||
|
# TODO: this seems heavy-handed?
|
||||||
|
recursive-include rattail_fabric2/deploy *
|
||||||
|
|
5
tasks.py
5
tasks.py
|
@ -2,7 +2,7 @@
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# Rattail -- Retail Software Framework
|
# Rattail -- Retail Software Framework
|
||||||
# Copyright © 2010-2018 Lance Edgar
|
# Copyright © 2010-2020 Lance Edgar
|
||||||
#
|
#
|
||||||
# This file is part of Rattail.
|
# This file is part of Rattail.
|
||||||
#
|
#
|
||||||
|
@ -42,5 +42,8 @@ def release(c):
|
||||||
Release a new version of 'rattail-fabric2'.
|
Release a new version of 'rattail-fabric2'.
|
||||||
"""
|
"""
|
||||||
shutil.rmtree('rattail_fabric2.egg-info')
|
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('python setup.py sdist --formats=gztar')
|
||||||
c.run('twine upload dist/rattail-fabric2-{}.tar.gz'.format(__version__))
|
c.run('twine upload dist/rattail-fabric2-{}.tar.gz'.format(__version__))
|
||||||
|
|
Loading…
Reference in a new issue