-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (41 loc) · 1.75 KB
/
setup.py
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
# -------------------------------------------------------------------
# `setup.py` for the small packages "python package to quarto
# documentation" package.
# -------------------------------------------------------------------
from setuptools import setup, find_namespace_packages
ISRELEASED = False
VERSION = "0.1.1"
setup(
name = "pyp2qmd",
version = VERSION,
author = "Reto Stauffer",
author_email = "[email protected]",
description = "Parses docstrings of all exported classes and methods of a python package and turns them into quarto markdown (qmd) files. Alongside, a basic structure for a quarto website is created, intended to easily document your python package with quarto.",
long_description = open("README.md").read(),
long_description_content_type = "text/markdown",
url = "https://github.com/retostauffer/pyp2qmd",
project_urls = {
"GitHub Issues": "https://github.com/retostauffer/pyp2qmd/issues"
},
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent"
],
install_requires = ["docstring_parser", "pyyaml"],
packages = find_namespace_packages("src"),
package_dir = {"": "src"},
python_requires = ">=3.8",
zip_safe = False,
# Static files (templates)
include_package_data = True,
package_data = {"pyp2qmd": ["templates/*"]},
# Executables
entry_points = {
"console_scripts": [
"pyp2qmd = pyp2qmd.bin.pyp2qmd:main"
]
}
)