49 lines
1.6 KiB
Python
49 lines
1.6 KiB
Python
from setuptools import setup, find_packages
|
|
|
|
with open("README.md", "r", encoding="utf-8") as fh:
|
|
long_description = fh.read()
|
|
|
|
with open("requirements.txt", "r", encoding="utf-8") as fh:
|
|
requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")]
|
|
|
|
setup(
|
|
name="local-swarm",
|
|
version="0.1.0",
|
|
author="Local Swarm Contributors",
|
|
description="Automatically configure and run a swarm of small coding LLMs",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url="https://github.com/yourusername/local_swarm",
|
|
packages=find_packages(where="src"),
|
|
package_dir={"": "src"},
|
|
classifiers=[
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Operating System :: OS Independent",
|
|
],
|
|
python_requires=">=3.9",
|
|
install_requires=requirements,
|
|
extras_require={
|
|
"macos": ["mlx>=0.15.0", "mlx-lm>=0.8.0"],
|
|
"dev": [
|
|
"pytest>=7.4.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"black>=23.0.0",
|
|
"ruff>=0.1.0",
|
|
"mypy>=1.6.0",
|
|
],
|
|
},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"local-swarm=main:main",
|
|
],
|
|
},
|
|
)
|