-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Split wavelite and its web assets into separate python packages.
- Loading branch information
Showing
10 changed files
with
116 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.PHONY: build | ||
build: | ||
../venv/bin/python setup.py bdist_wheel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h2o_wavelite_web/www |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
recursive-include h2o_wavelite_web/www * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.PHONY: build | ||
build: purge | ||
cp -R ../../ui/build h2o_wavelite_web/www | ||
../venv/bin/python setup.py bdist_wheel | ||
|
||
purge: | ||
rm -rf h2o_wavelite_web/www |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Create apps 10x quicker, without Javascript, HTML, or CSS. | ||
|
||
[Documentation](https://nitro.h2o.ai) | [Source](https://github.com/h2oai/nitro) | ||
|
||
Integrates with [Django](https://www.djangoproject.com/) | ||
, [Flask](https://flask.palletsprojects.com/), [Starlette](https://www.starlette.io/) | ||
, [Tornado](https://www.tornadoweb.org/), [Uvicorn](https://www.uvicorn.org/) and other popular frameworks. Can be | ||
integrated into your existing applications. | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright 2022 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. | ||
|
||
from .version import __version__ | ||
|
||
import pathlib | ||
|
||
web_directory = str(pathlib.Path(__file__).parent / 'www') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = '0.24.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
import os | ||
from setuptools import find_namespace_packages, setup | ||
|
||
|
||
def get_long_description(): | ||
return open("README.md", "r", encoding="utf8").read() | ||
|
||
|
||
setup( | ||
name="h2o_wavelite_web", | ||
version=os.getenv('VERSION', 'DEV'), | ||
url="https://wave.h2o.ai/", | ||
description="Web assets package for H2O Wavelite apps.", | ||
long_description=get_long_description(), | ||
long_description_content_type="text/markdown", | ||
author="Martin Turoci", | ||
author_email="martin.turoci@h2o.ai", | ||
packages=find_namespace_packages(include=["h2o_wavelite_web*"]), | ||
python_requires=">=3.7", | ||
install_requires=[], | ||
include_package_data=True, | ||
license_files=('LICENSE',), | ||
classifiers=[ | ||
'License :: OSI Approved :: Apache Software License', | ||
'Development Status :: 2 - Pre-Alpha', | ||
"Environment :: Web Environment", | ||
"Intended Audience :: Developers", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Topic :: Internet :: WWW/HTTP", | ||
'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', | ||
], | ||
project_urls={ | ||
"Documentation": "https://wave.h2o.ai/", | ||
"Source": "https://github.com/h2oai/wave", | ||
"Issues": "https://github.com/h2oai/wave/issues", | ||
}, | ||
) |