diff --git a/README.md b/README.md index d755286..68c5ab5 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ directly output files suitable for my Wiki.js instance. ## Installation ```bash -pipx install git+https://github.com/SinTan1729/recipe-box-for-wikijs +uv tool install git+https://github.com/SinTan1729/recipe-box-for-wikijs ``` ## Usage diff --git a/main.py b/main.py deleted file mode 100644 index b70fc00..0000000 --- a/main.py +++ /dev/null @@ -1,6 +0,0 @@ -def main(): - print("Hello from recipe-box-for-wikijs!") - - -if __name__ == "__main__": - main() diff --git a/pyproject.toml b/pyproject.toml index f968fd5..c6394ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "recipe-box-for-wikijs" authors = [{ name = "Sayantan Santra", email = "sayantan.santra689@gmail.com" }] license = "MIT" classifiers = ["Programming Language :: Python :: 3"] -version = "1.0.0" +version = "1.0.1" description = "Download recipes into a (repurposed Zettelkasten) recipe box" readme = "README.md" keywords = ["recipe", "food", "recipe-box"] @@ -11,4 +11,4 @@ requires-python = ">=3.8" dependencies = ["recipe-scrapers", "requests", "httpx[http2]"] [project.scripts] -recipe_box = "recipe_box:recipe_box" +recipe_box = "recipe_box:main" diff --git a/recipe_box.json b/recipe_box.json deleted file mode 100644 index 08fe761..0000000 --- a/recipe_box.json +++ /dev/null @@ -1 +0,0 @@ -{"recipe_box": "~/recipe_box/"} \ No newline at end of file diff --git a/setup.py b/setup.py deleted file mode 100644 index a358725..0000000 --- a/setup.py +++ /dev/null @@ -1,44 +0,0 @@ -from setuptools import setup - -""" - python3 setup.py sdist bdist_wheel - python3 -m twine upload dist/* - - https://packaging.python.org/tutorials/packaging-projects/ -""" - -def readme(): - with open('README.md') as f: - return f.read() - - -setup( - name='recipe_box', - version='0.1.2', - py_modules=['recipe_box'], - description='Utility to scrape recipes and put it in a local Zettelkasten.', - long_description=readme(), - long_description_content_type='text/markdown', - # https://pypi.org/classifiers/ - classifiers=[ - 'Development Status :: 4 - Beta', - 'Environment :: Console', - 'Intended Audience :: End Users/Desktop', - 'License :: OSI Approved :: MIT License', - 'Programming Language :: Python :: 3', - 'Topic :: Utilities', - ], - keywords='utility recipe scraper zettelkasten', - url='http://github.com/lcordier/recipe_box/', - author='Louis Cordier', - author_email='lcordier@gmail.com', - license='MIT', - install_requires=[ - 'recipe-scrapers', - ], - entry_points={ - 'console_scripts': [ - 'recipe_box=recipe_box:main', - ], - }, -)