mirror of
https://github.com/SinTan1729/recipe-box-for-wikijs.git
synced 2025-04-11 14:56:04 -05:00
fix: Project file and README
This commit is contained in:
parent
8d8849f34e
commit
bdf0c170c4
5 changed files with 3 additions and 54 deletions
|
@ -5,7 +5,7 @@ directly output files suitable for my Wiki.js instance.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
```bash
|
```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
|
## Usage
|
||||||
|
|
6
main.py
6
main.py
|
@ -1,6 +0,0 @@
|
||||||
def main():
|
|
||||||
print("Hello from recipe-box-for-wikijs!")
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
main()
|
|
|
@ -3,7 +3,7 @@ name = "recipe-box-for-wikijs"
|
||||||
authors = [{ name = "Sayantan Santra", email = "sayantan.santra689@gmail.com" }]
|
authors = [{ name = "Sayantan Santra", email = "sayantan.santra689@gmail.com" }]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
classifiers = ["Programming Language :: Python :: 3"]
|
classifiers = ["Programming Language :: Python :: 3"]
|
||||||
version = "1.0.0"
|
version = "1.0.1"
|
||||||
description = "Download recipes into a (repurposed Zettelkasten) recipe box"
|
description = "Download recipes into a (repurposed Zettelkasten) recipe box"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
keywords = ["recipe", "food", "recipe-box"]
|
keywords = ["recipe", "food", "recipe-box"]
|
||||||
|
@ -11,4 +11,4 @@ requires-python = ">=3.8"
|
||||||
dependencies = ["recipe-scrapers", "requests", "httpx[http2]"]
|
dependencies = ["recipe-scrapers", "requests", "httpx[http2]"]
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
recipe_box = "recipe_box:recipe_box"
|
recipe_box = "recipe_box:main"
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
{"recipe_box": "~/recipe_box/"}
|
|
44
setup.py
44
setup.py
|
@ -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',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
)
|
|
Loading…
Reference in a new issue