Skip to content

Commit

Permalink
fix: No such file or directory: 'pyproject.toml'
Browse files Browse the repository at this point in the history
Fix #122
  • Loading branch information
gcushen committed Sep 29, 2023
1 parent f42a776 commit af11b95
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
5 changes: 3 additions & 2 deletions academic/cli.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/usr/bin/env python3

import argparse
import importlib.metadata
import logging
import os
import sys
from argparse import RawTextHelpFormatter

from academic.import_bibtex import import_bibtex
from academic.version import VERSION

# Initialise logger.
logging.basicConfig(
Expand All @@ -30,8 +30,9 @@ def parse_args(args):
"""Parse command-line arguments"""

# Initialise command parser.
version = importlib.metadata.version("academic")
parser = argparse.ArgumentParser(
description=f"Hugo Academic CLI v{VERSION}\nhttps://github.com/wowchemy/bibtex-to-markdown",
description=f"Hugo Academic CLI v{version}\nhttps://github.com/wowchemy/bibtex-to-markdown",
formatter_class=RawTextHelpFormatter,
)
subparsers = parser.add_subparsers(help="Sub-commands", dest="command")
Expand Down
8 changes: 0 additions & 8 deletions academic/version.py

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "academic"
description = "Import Bibtex references from your reference manager to your Markdown-formatted website or book."
version = "0.9.0"
version = "0.9.1"
authors = ["George Cushen"]
readme = "README.md"
homepage = "https://wowchemy.com"
Expand Down

0 comments on commit af11b95

Please sign in to comment.