-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
62 lines (59 loc) · 2.13 KB
/
setup.py
File metadata and controls
62 lines (59 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
from setuptools import setup, find_packages
# Read the long description from README.md
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# Read the list of requirements from requirements.txt
with open("requirements.txt", "r", encoding="utf-8") as fh:
requirements = fh.read().splitlines()
setup(
name="md2htmlify",
version="0.0.1",
author="Deepak Raj",
author_email="deepak008@live.com",
description=(
"A simple, user-friendly library for converting Markdown files to HTML, "
"with optional local or CDN-based math and styling dependencies."
),
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/codeperfectplus/md2htmlify",
packages=find_packages(),
# Instead of using data_files, it's often preferable to use package_data
# or include_package_data to ensure files get included with the package itself.
# For any non-Python assets, place them in a package directory (e.g. md2htmlify/libs).
# Example usage: package_data={"md2htmlify": ["libs/*"]},
# or rely on MANIFEST.in to fine-tune inclusion.
include_package_data=True,
package_data={
"md2htmlify": ["libs/*"] # Adjust the pattern as needed
},
install_requires=requirements,
python_requires=">=3.6",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers"
],
project_urls={
"Documentation": "https://md2htmlify.readthedocs.io/en/latest/",
"Source": "https://github.com/codeperfectplus/md2htmlify",
"Tracker": "https://github.com/codeperfectplus/md2htmlify/issues"
},
entry_points={
"console_scripts": [
"md2htmlify=md2htmlify.cli:main", # Update path if needed
],
},
keywords=[
"markdown",
"html",
"converter",
"mathjax",
"tailwind",
"latex",
"documentation",
],
license="MIT",
)