forked from reasoned-ai/dash-ace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (30 loc) · 804 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
33
34
35
36
37
import json
from setuptools import setup
with open('package.json') as f:
package = json.load(f)
package_name = package["name"].replace(" ", "_").replace("-", "_")
long_description = """
# dash ace
dash ace is a Dash component for Ace Editor.
```
$ pip install dash-ace
```
"""
setup(
name=package_name,
version=package["version"],
author=package['author'],
author_email="[email protected]",
long_description=long_description,
long_description_content_type='text/markdown',
python_requires='>=3.6.0',
url=package['homepage'],
packages=[package_name],
include_package_data=True,
license=package['license'],
description=package.get('description', package_name),
install_requires=[],
classifiers=[
'Framework :: Dash',
],
)