-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganizes hamilton ui to be in its own package
This is much cleaner/decoupled from the hamilton core capabilities. See README for installation/publishing instructions.
- Loading branch information
1 parent
fbae515
commit 3f96279
Showing
12 changed files
with
134 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
include requirements.txt | ||
include requirements-test.txt | ||
include hamilton/server/requirements-mini.txt | ||
recursive-include hamilton/server/build * | ||
include LICENSE | ||
include *.md |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1 +1 @@ | ||
VERSION = (1, 65, 0, "rc1") | ||
VERSION = (1, 66, 0, "rc1") |
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
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,4 @@ | ||
include hamilton_ui/requirements-mini.txt | ||
recursive-include hamilton_ui/build * | ||
include ../../LICENSE | ||
include *.md |
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 @@ | ||
server |
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
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,54 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
"""The setup script.""" | ||
|
||
from setuptools import find_packages, setup | ||
|
||
REQUIREMENTS_FILES = ["requirements.txt"] | ||
|
||
|
||
def load_requirements(): | ||
# TODO -- confirm below works/delete this | ||
requirements = {"click", "loguru", "requests", "typer"} | ||
with open("hamilton_ui/requirements-mini.txt") as f: | ||
requirements.update(line.strip() for line in f) | ||
return list(requirements) | ||
|
||
|
||
setup( | ||
name="sf-hamilton-ui", # there's already a hamilton in pypi | ||
version="0.0.3", | ||
description="Hamilton, the micro-framework for creating dataframes.", | ||
long_description="""Hamilton tracking server, see [the docs for more](https://github.com/dagworks-inc/hamilton/tree/main/ui/)""", | ||
long_description_content_type="text/markdown", | ||
author="Stefan Krawczyk, Elijah ben Izzy", | ||
author_email="[email protected],[email protected]", | ||
url="https://github.com/dagworks-inc/hamilton", | ||
packages=find_packages(exclude=["tests"], include=["hamilton_ui", "hamilton_ui.*"]), | ||
include_package_data=True, | ||
install_requires=load_requirements(), | ||
zip_safe=False, | ||
keywords="hamilton", | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Natural Language :: English", | ||
"License :: OSI Approved :: BSD License", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
], | ||
# Note that this feature requires pep8 >= v9 and a version of setup tools greater than the | ||
# default version installed with virtualenv. Make sure to update your tools! | ||
python_requires=">=3.6, <4", | ||
# adding this to slim the package down, since these dependencies are only used in certain contexts. | ||
# Relevant project URLs | ||
project_urls={ # Optional | ||
"Bug Reports": "https://github.com/dagworks-inc/hamilton/issues", | ||
"Source": "https://github.com/dagworks-inc/hamilton", | ||
}, | ||
) |