Skip to content

Commit

Permalink
Update noxfile.py for going back to setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon committed Dec 12, 2020
1 parent b299c3d commit 1534da5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,14 @@ def docs(session):
@nox.session
def release(session):
package_name = "packaging"
version_file = Path(f"{package_name}/__init__.py")
version_file = Path(f"{package_name}/__about__.py")
changelog_file = Path("CHANGELOG.rst")

try:
release_version = _get_version_from_arguments(session.posargs)
except ValueError as e:
session.error(f"Invalid arguments: {e}")
return

# Check state of working directory and git.
_check_working_directory_state(session)
Expand Down

0 comments on commit 1534da5

Please sign in to comment.