Skip to content

Commit

Permalink
chore: Release v0.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mturoci committed May 31, 2022
1 parent 3ed90eb commit 1cc4cbd
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 2 deletions.
2 changes: 1 addition & 1 deletion py/h2o_wave/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.21.0'
__version__ = '0.22.0'
2 changes: 1 addition & 1 deletion py/h2o_wave/version.py-r
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.20.0'
__version__ = '0.22.0'
86 changes: 86 additions & 0 deletions py/setup.py-r
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Copyright 2020 H2O.ai, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import setuptools
import os
from glob import glob
from pathlib import Path

with open('README.rst', 'r') as readme:
long_description = readme.read()

with open('README.md', 'r') as readme_markdown:
conda_description = readme_markdown.read()

platform = os.getenv('OS', 'darwin')
version = os.getenv('VERSION', 'DEV')
arch = os.getenv('ARCH', 'amd64')
base_path = os.path.join('..', 'build', f'wave-{version}-{platform}-{arch}')


def get_data_files():
build_path = os.path.join(base_path, 'www')
data_dict = dict()
for p in Path(build_path).rglob('*'):
if os.path.isdir(p):
continue
*dirs, _ = p.relative_to(build_path).parts
key = os.path.join('www', *dirs)
if key in data_dict:
data_dict[key].append(str(p))
else:
data_dict[key] = [str(p)]
return list(data_dict.items())


setuptools.setup(
name='h2o_wave',
version=version,
author='Prithvi Prabhu',
author_email='[email protected]',
description='Python driver for H2O Wave Realtime Apps',
long_description=long_description,
conda_description=conda_description,
url='https://h2o.ai/products/h2o-wave',
packages=['h2o_wave'],
data_files=None if platform == 'any' else [('', glob(os.path.join(base_path, 'waved*')))] + get_data_files(),
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Operating System :: OS Independent',
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Topic :: Database',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Communications :: Chat',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Widget Sets',
'Topic :: System :: Distributed Computing',
],
python_requires='>=3.7.1',
install_requires=[
'Click',
'httpx==0.16.1',
'starlette==0.13.8',
'uvicorn==0.17.6',
],
entry_points=dict(
console_scripts=["wave = h2o_wave.cli:main"]
),
extras_require=dict(
ml=['h2o_wave_ml']
),
)
30 changes: 30 additions & 0 deletions r/DESCRIPTION-r
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Package: h2owave
Title: R Driver for H2O Wave Realtime Apps Framework
Version: 0.18.2
Date: 2022-05-03
Authors@R: c(
person(given = "Ashrith",
family = "Barthur",
role = c("aut", "cre"),
email = "[email protected]"),
person(given = "Prithvi",
family = "Prabhu",
role = c("aut"),
email = "[email protected]")
)
Description: H2O Wave is a lightweight software stack for programming interactive web applications entirely in R (no HTML/Javascript/CSS) required. It is designed to make it fast, fun and easy to build low-latency, realtime, collaborative, web-based applications. It ships batteries-included with a suite of form and data visualization components for rapidly prototyping analytical and decision-support applications. Wave’s components work in conjunction with the Wave relay server that facilitates realtime state synchronization between R and web browsers.
License: Apache License (>= 2.0)
URL: https://github.com/h2oai/wave
BugReports: https://github.com/h2oai/wave/issues
Encoding: UTF-8
LazyData: true
Depends:
R(>= 3.5),
jsonlite,
devtools,
httr,
stringr,
httpuv,
R6(>= 2.0)
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.2

0 comments on commit 1cc4cbd

Please sign in to comment.