blob: 4b2a776878b439f899a8466f88114bf535ccfb46 [file] [log] [blame]
# /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.16",
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="stefan@dagworks.io,elijah@dagworks.io",
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",
},
)