-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (25 loc) · 813 Bytes
/
setup.py
File metadata and controls
31 lines (25 loc) · 813 Bytes
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
import json
import os
from setuptools import setup
from setuptools import setup, find_packages
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text(encoding="UTF-8")
with open("package.json") as f:
package = json.load(f)
package_name = package["name"].replace(" ", "_").replace("-", "_")
setup(
name=package_name,
version=package["version"],
long_description=long_description,
long_description_content_type="text/markdown",
author=package["author"],
packages=[package_name],
include_package_data=True,
license=package["license"],
description=package.get("description", package_name),
install_requires=[],
classifiers=[
"Framework :: Dash",
],
)