-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (28 loc) · 887 Bytes
/
setup.py
File metadata and controls
33 lines (28 loc) · 887 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
32
33
import json
import os
from setuptools import setup
from pathlib import Path
here = Path(os.path.dirname(os.path.abspath(__file__)))
def readme():
with open(here / "README.md", "rt") as f:
return f.read()
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'],
packages=[package_name],
url="https://github.com/BSd3v/dash-chart-editor",
project_urls={"Github": "https://github.com/BSd3v/dash-chart-editor"},
include_package_data=True,
license=package['license'],
description=package.get('description', package_name),
long_description=readme(),
long_description_content_type="text/markdown",
install_requires=[],
classifiers = [
'Framework :: Dash',
],
)