diff --git a/.gitignore b/.gitignore index 703e159..867434b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ build +dist *.egg-info \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..39a642f --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +importlib_metadata==7.2.1 \ No newline at end of file diff --git a/setup.py b/setup.py index f50acad..f774875 100644 --- a/setup.py +++ b/setup.py @@ -1,18 +1,14 @@ from pathlib import Path - from setuptools import setup, find_packages setup( name="md2tgmd", version="0.2.4", description="md2tgmd is a Markdown to Telegram-specific-markdown converter.", - long_description=Path.open(Path("README.md"), encoding="utf-8").read(), + long_description=Path("README.md").open(encoding="utf-8").read(), long_description_content_type="text/markdown", - url="https://github.com/yym68686/md2tgmd", - project_urls={ - 'Home-page': 'https://github.com/yym68686/md2tgmd', - }, packages=find_packages("src"), package_dir={"": "src"}, - py_modules=["md2tgmd"] + py_modules=["md2tgmd"], + install_requires=Path.open(Path("requirements.txt"), encoding="utf-8").read().splitlines(), ) \ No newline at end of file