We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a471bf commit 1fb7910Copy full SHA for 1fb7910
changes/packaging.py
@@ -11,18 +11,18 @@
11
12
def build_distributions(context):
13
"""Builds package distributions"""
14
-
+ packages = None
15
path('dist').rmtree(ignore_errors=True)
16
17
build_package_command = 'python setup.py clean sdist bdist_wheel'
18
result = shell.dry_run(build_package_command, context.dry_run)
19
- packages = ', '.join(path('dist').files()) if not context.dry_run else "nothing"
+ packages = path('dist').files() if not context.dry_run else "nothing"
20
21
if not result:
22
raise Exception('Error building packages: %s' % result)
23
else:
24
- log.info('Built %s' % packages)
25
- return True
+ log.info('Built %s' % ', '.join(packages))
+ return packages
26
27
28
def install_package(context):
0 commit comments