Skip to content

Commit

Permalink
sage --package create: Say 'none' if no Requires-Python
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Aug 23, 2024
1 parent a81012e commit acca5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/sage_bootstrap/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ def create(self, package_name, version=None, tarball=None, pkg_type=None, upstre
if not version:
version = pypi_version.version
if dependencies is None:
log.info('Requires-Python: {0}'.format(pypi_version.requires_python))
log.info('Requires-Python: {0}'.format(pypi_version.requires_python or 'none'))
requires_dist = pypi_version.requires_dist
if requires_dist:
dependencies = []
Expand Down

0 comments on commit acca5a7

Please sign in to comment.