-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (28 loc) · 877 Bytes
/
setup.py
File metadata and controls
32 lines (28 loc) · 877 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
import json
from pathlib import Path
from setuptools import setup
here = Path(__file__).parent
with open('package.json') as f:
package = json.load(f)
long_description = (here / 'README.md').read_text(encoding='utf-8')
package_name = package['name'].replace(' ', '_').replace('-', '_')
setup(
name=package_name,
version=package['version'],
homepage=package['homepage'],
author=package['author'],
packages=[package_name],
include_package_data=True,
package_data={'feffery_infographic': ['*']},
license=package['license'],
description=package.get('description', package_name),
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=[
'dash>=3.3.0',
],
classifiers=[
'Framework :: Dash',
],
url='https://github.com/HogaStack/feffery-infographic',
)