Add setup.py
Browse files
setup.py
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Setup script for Sheikh-2.5-Coder model repository.
|
| 3 |
+
"""
|
| 4 |
+
|
| 5 |
+
from setuptools import setup, find_packages
|
| 6 |
+
|
| 7 |
+
with open("README.md", "r", encoding="utf-8") as fh:
|
| 8 |
+
long_description = fh.read()
|
| 9 |
+
|
| 10 |
+
with open("requirements.txt", "r", encoding="utf-8") as fh:
|
| 11 |
+
requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")]
|
| 12 |
+
|
| 13 |
+
setup(
|
| 14 |
+
name="sheikh-2.5-coder",
|
| 15 |
+
version="1.0.0",
|
| 16 |
+
author="Sheikh Research Team",
|
| 17 |
+
author_email="contact@sheikh-research.ai",
|
| 18 |
+
description="A lightweight 3B parameter code-focused language model for on-device deployment",
|
| 19 |
+
long_description=long_description,
|
| 20 |
+
long_description_content_type="text/markdown",
|
| 21 |
+
url="https://github.com/your-username/sheikh-2.5-coder",
|
| 22 |
+
packages=find_packages(),
|
| 23 |
+
classifiers=[
|
| 24 |
+
"Development Status :: 3 - Alpha",
|
| 25 |
+
"Intended Audience :: Developers",
|
| 26 |
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
| 27 |
+
"License :: OSI Approved :: Apache Software License",
|
| 28 |
+
"Programming Language :: Python :: 3",
|
| 29 |
+
"Programming Language :: Python :: 3.8",
|
| 30 |
+
"Programming Language :: Python :: 3.9",
|
| 31 |
+
"Programming Language :: Python :: 3.10",
|
| 32 |
+
"Programming Language :: Python :: 3.11",
|
| 33 |
+
"Operating System :: OS Independent",
|
| 34 |
+
],
|
| 35 |
+
python_requires=">=3.8",
|
| 36 |
+
install_requires=requirements,
|
| 37 |
+
extras_require={
|
| 38 |
+
"dev": [
|
| 39 |
+
"pytest>=7.4.0",
|
| 40 |
+
"black>=23.0.0",
|
| 41 |
+
"isort>=5.12.0",
|
| 42 |
+
"flake8>=6.0.0",
|
| 43 |
+
"mypy>=1.5.0",
|
| 44 |
+
],
|
| 45 |
+
"mobile": [
|
| 46 |
+
"onnx>=1.14.0",
|
| 47 |
+
"onnxruntime>=1.15.0",
|
| 48 |
+
"optimum>=1.11.0",
|
| 49 |
+
],
|
| 50 |
+
},
|
| 51 |
+
entry_points={
|
| 52 |
+
"console_scripts": [
|
| 53 |
+
"sheikh-train=sheikh_train:main",
|
| 54 |
+
"sheikh-eval=sheikh_eval:main",
|
| 55 |
+
"sheikh-deploy=sheikh_deploy:main",
|
| 56 |
+
],
|
| 57 |
+
},
|
| 58 |
+
)
|