-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (47 loc) · 1.69 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# pylint: skip-file
import re
from setuptools import setup
def get_property(prop):
result = re.search(
rf'{prop}\s*=\s*[\'"]([^\'"]*)[\'"]',
open("ipyoverlay/__init__.py").read(),
)
return result.group(1)
with open("README.md", encoding="utf-8") as infile:
long_description = infile.read()
setup(
name="ipyoverlay",
version=get_property("__version__"),
description="IPyWidget wrappers to support rendering widgets on top of other widgets",
keywords=["widget", "details-on-demand", "overlay", "ipywidget", "jupyter"],
long_description_content_type="text/markdown",
long_description=long_description,
author="Nathan Martindale, Jacob Smith, Jason Hite, Scott L. Stewart, Mark Adams, Lisa Linville",
author_email="[email protected]",
python_requires=">=3.9",
url="https://github.com/ORNL/ipyoverlay",
project_urls={
"Documentation": "https://ornl.github.io/ipyoverlay/latest/index.html"
},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
],
packages=["ipyoverlay"],
package_data={"ipyoverlay": ["vue/*"]},
include_package_data=True,
install_requires=[
"ipyvuetify",
"ipywidgets",
"matplotlib", # make optional
"plotly", # make optional
],
# extras_require={"h5": ["tables"]},
)