Skip to content

Commit

Permalink
Add README to package metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
binste committed Nov 11, 2023
1 parent 47fc6b7 commit a1f3f2b
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
import json
import os
from pathlib import Path

from setuptools import setup

this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()

with open('package.json') as f:
with open("package.json") as f:
package = json.load(f)

package_name = package["name"].replace(" ", "_").replace("-", "_")

setup(
name=package_name,
version=package["version"],
author=package['author'],
author=package["author"],
packages=[package_name],
include_package_data=True,
license=package['license'],
description=package.get('description', package_name),
long_description=long_description,
long_description_content_type="text/markdown",
license=package["license"],
description=package.get("description", package_name),
install_requires=[],
classifiers = [
'Framework :: Dash',
],
classifiers=[
"Framework :: Dash",
],
)

0 comments on commit a1f3f2b

Please sign in to comment.