-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
32 lines (25 loc) · 823 Bytes
/
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
import json
from setuptools import setup
import pathlib
with open('package.json') as f:
package = json.load(f)
package_name = package["name"].replace(" ", "_").replace("-", "_")
here = pathlib.Path(__file__).parent.resolve()
# Get the long description from the README file
long_description = (here / 'README.md').read_text(encoding='utf-8')
setup(
name=package_name,
version=package["version"],
author=package['author'],
long_description=long_description,
long_description_content_type='text/markdown',
url= 'https://github.com/aegis1980/dash-mqtt',
packages=[package_name],
include_package_data=True,
license=package['license'],
description=package.get('description', package_name),
install_requires=[],
classifiers = [
'Framework :: Dash',
],
)