Upload setup.py with huggingface_hub
Browse files
setup.py
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from setuptools import setup, find_packages
|
| 2 |
+
|
| 3 |
+
setup(
|
| 4 |
+
name="aksara",
|
| 5 |
+
version="2.1.0",
|
| 6 |
+
author="Emylton Leunufna",
|
| 7 |
+
description="AKSARA - Framework yang menghasilkan CLM (Cognitive Language Model): model bahasa yang memahami makna, bukan memprediksi token",
|
| 8 |
+
long_description=open("README.md", encoding="utf-8").read(),
|
| 9 |
+
long_description_content_type="text/markdown",
|
| 10 |
+
url="https://github.com/aksara-id/aksara",
|
| 11 |
+
project_urls={
|
| 12 |
+
"Demo": "https://huggingface.co/spaces/aksara-id/demo",
|
| 13 |
+
"Documentation": "https://github.com/aksara-id/aksara#readme",
|
| 14 |
+
},
|
| 15 |
+
packages=find_packages(exclude=["tests*", "tools*", "examples*", "hf_space*"]),
|
| 16 |
+
python_requires=">=3.9",
|
| 17 |
+
install_requires=[
|
| 18 |
+
"torch>=2.0.0",
|
| 19 |
+
"numpy>=1.24.0",
|
| 20 |
+
],
|
| 21 |
+
extras_require={
|
| 22 |
+
"dev": [
|
| 23 |
+
"pytest>=7.0",
|
| 24 |
+
"pytest-cov",
|
| 25 |
+
],
|
| 26 |
+
"yaml": [
|
| 27 |
+
"pyyaml>=6.0",
|
| 28 |
+
],
|
| 29 |
+
"demo": [
|
| 30 |
+
"gradio>=4.0.0",
|
| 31 |
+
],
|
| 32 |
+
},
|
| 33 |
+
entry_points={
|
| 34 |
+
"console_scripts": [
|
| 35 |
+
"aksara=aksara.cli:main",
|
| 36 |
+
],
|
| 37 |
+
},
|
| 38 |
+
license="MIT",
|
| 39 |
+
classifiers=[
|
| 40 |
+
"Programming Language :: Python :: 3",
|
| 41 |
+
"Programming Language :: Python :: 3.11",
|
| 42 |
+
"Operating System :: OS Independent",
|
| 43 |
+
"Natural Language :: Indonesian",
|
| 44 |
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
| 45 |
+
"Topic :: Text Processing :: Linguistic",
|
| 46 |
+
"Intended Audience :: Science/Research",
|
| 47 |
+
"Intended Audience :: Developers",
|
| 48 |
+
],
|
| 49 |
+
keywords="indonesian nlp linguistics morphology reasoning knowledge-base",
|
| 50 |
+
)
|