2020-02-09 21:11:22 -08:00
|
|
|
import os
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
from setuptools import setup
|
|
|
|
|
except ImportError:
|
|
|
|
|
from distutils.core import setup
|
|
|
|
|
|
2026-03-06 22:42:05 -08:00
|
|
|
# Don't import module here, since deps may not be installed
|
2026-03-06 22:44:19 -08:00
|
|
|
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "hanzo_insights"))
|
2025-06-05 15:50:27 +01:00
|
|
|
from version import VERSION # noqa: E402
|
2020-02-09 21:11:22 -08:00
|
|
|
|
2021-01-05 12:09:44 +01:00
|
|
|
long_description = """
|
2026-03-06 22:42:05 -08:00
|
|
|
Hanzo Insights is developer-friendly, self-hosted product analytics.
|
2026-03-06 22:44:19 -08:00
|
|
|
hanzo_insights is the python package.
|
2025-04-29 11:14:59 -03:00
|
|
|
|
2025-11-11 19:12:33 +01:00
|
|
|
This package requires Python 3.10 or higher.
|
2021-01-05 12:09:44 +01:00
|
|
|
"""
|
2020-02-09 21:11:22 -08:00
|
|
|
|
|
|
|
|
setup(
|
2026-03-06 22:44:19 -08:00
|
|
|
name="hanzo_insights",
|
2020-02-09 21:11:22 -08:00
|
|
|
version=VERSION,
|
2026-03-06 22:42:05 -08:00
|
|
|
url="https://github.com/hanzoai/insights",
|
|
|
|
|
author="Hanzo AI",
|
|
|
|
|
author_email="hey@hanzo.ai",
|
|
|
|
|
maintainer="Hanzo AI",
|
|
|
|
|
maintainer_email="hey@hanzo.ai",
|
2021-01-05 12:09:44 +01:00
|
|
|
license="MIT License",
|
2026-03-06 22:42:05 -08:00
|
|
|
description="Integrate Hanzo Insights into any python application.",
|
2020-02-09 21:11:22 -08:00
|
|
|
long_description=long_description,
|
|
|
|
|
)
|