releases/tasks.py

24 lines
527 B
Python
Raw Normal View History

from os.path import join
2013-11-06 17:24:47 -08:00
from invocations import docs
from invocations.testing import test, integration, watch_tests
2013-11-06 17:24:47 -08:00
from invocations.packaging import release
from invoke import Collection
2014-04-14 17:52:24 -04:00
ns = Collection(test, integration, watch_tests, release, docs)
ns.configure({
'tests': {
'package': 'releases',
},
2016-07-25 17:33:30 -07:00
'packaging': {
'sign': True,
'wheel': True,
'changelog_file': join(
docs.ns.configuration()['sphinx']['source'],
'changelog.rst',
),
2016-07-25 17:33:30 -07:00
},
})