We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4742d0 commit f7a55f0Copy full SHA for f7a55f0
{{cookiecutter.project_shortname}}/setup.py
@@ -1,10 +1,11 @@
1
import json
2
-import os
3
from setuptools import setup
+from pathlib import Path
4
5
-
+here = Path(__file__).parent
6
with open('package.json') as f:
7
package = json.load(f)
8
+long_description = (here / 'README.md').read_text()
9
10
package_name = package["name"].replace(" ", "_").replace("-", "_")
11
@@ -16,6 +17,8 @@
16
17
include_package_data=True,
18
license=package['license'],
19
description=package.get('description', package_name),
20
+ long_description=long_description,
21
+ long_description_content_type="text/markdown",
22
install_requires=[],
23
classifiers = [
24
'Framework :: Dash',
0 commit comments