forked from pyinvoke/invoke
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtasks.py
31 lines (27 loc) · 798 Bytes
/
tasks.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import os
from invocations.docs import docs, www, sites, watch_docs
from invocations.testing import test, coverage, integration, watch_tests
from invocations.packaging import vendorize, release
from invoke import Collection
from invoke.util import LOG_FORMAT
ns = Collection(
test, coverage, integration, vendorize, release, www, docs, sites,
watch_docs, watch_tests
)
ns.configure({
'tests': {
'logformat': LOG_FORMAT,
'package': 'invoke',
},
'packaging': {
'sign': True,
'wheel': True,
'check_desc': True,
# Because of PyYAML's dual source nonsense =/
'dual_wheels': True,
'changelog_file': os.path.join(
www.configuration()['sphinx']['source'],
'changelog.rst',
),
},
})