Skip to content

Commit

Permalink
refactor(rever): use pathlib
Browse files Browse the repository at this point in the history
  • Loading branch information
hulkoba committed May 30, 2024
1 parent 3b5f051 commit 3e1a8c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rever.xsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import os
from pathlib import Path

$PROJECT = $GITHUB_REPO = 'conda-smithy'
$GITHUB_ORG = 'conda-forge'
Expand All @@ -10,7 +10,7 @@ $CHANGELOG_FILENAME = 'CHANGELOG.rst'
$CHANGELOG_TEMPLATE = 'TEMPLATE.rst'

def sdist_asset():
fname = os.path.join('dist', 'conda_smithy-' + $VERSION + '.tar.gz')
fname = str(Path('dist') / ('conda_smithy-' + $VERSION + '.tar.gz'))
print('Creating sdist tarball ' + fname)
![python -m build --sdist]
return fname
Expand Down

0 comments on commit 3e1a8c8

Please sign in to comment.