Skip to content

Commit

Permalink
mito-ai: update setup.py to use same version as package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondr77 committed Sep 4, 2024
1 parent 88199b9 commit bae9d32
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions mito-ai/setup.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
from setuptools import setup, find_packages
import json
from pathlib import Path

HERE = Path(__file__).parent.resolve()
package_json = json.loads(open('package.json').read())

# Read the content of README.md for the long description
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

setup(
name="mito-ai",
version="0.1.0", # Version handling is now static, adjust manually
version=package_json['version'],
author="Aaron Diamond-Reivich",
author_email="aaron@sagacollab.com",
description="A short description of the project", # If dynamic, handle manually
description="AI chat for JupyterLab",
long_description=long_description,
long_description_content_type="text/markdown",
license="BSD-3-Clause", # Assuming the BSD license since you use the BSD classifier
license="GNU Affero General Public License v3",
python_requires=">=3.8",
classifiers=[
"Framework :: Jupyter",
Expand Down

0 comments on commit bae9d32

Please sign in to comment.