forked from RUC-GSAI/YuLan-OneSim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
74 lines (71 loc) · 2.05 KB
/
setup.py
File metadata and controls
74 lines (71 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
from setuptools import setup, find_packages
# Core dependencies
required_packages = [
"aiofiles>=24.1.0",
"asyncpg>=0.30.0",
"dataclasses_json>=0.6.7",
"fastapi>=0.115.12",
"grpcio>=1.70.0",
"httpx>=0.28.1",
"loguru>=0.6.0",
"matplotlib>=3.10.3",
"networkx>=3.4.2",
"numpy>=2.2.5",
"pandas>=2.2.3",
"protobuf>=6.30.2",
"pydantic>=2.11.4",
"pyvis>=0.3.2",
"seaborn>=0.13.2",
"setuptools>=75.6.0",
"tqdm>=4.67.1",
"uvicorn[standard]>=0.34.2",
"faiss-cpu>=1.9.0",
"pyyaml",
"openai",
"volcengine-python-sdk",
"requests",
]
# Optional dependencies for tuning
tune_extras = [
"mlflow",
"torch",
"peft>=0.15.1",
"transformers",
"trl>=0.16.0",
"vllm",
]
setup(
name='YuLan-OneSim',
version='1.0.0',
author='Lei Wang, Heyang Gao, Xiaohe Bo, Xu Chen, Ji-Rong Wen',
author_email='wanglei154@ruc.edu.cn',
description='YuLan-OneSim: Towards the Next Generation of Social Simulator with Large Language Models',
long_description=open('README.md', encoding='utf-8').read(),
long_description_content_type='text/markdown',
url='https://github.com/RUC-GSAI/YuLan-OneSim',
project_urls={
'Paper': 'https://arxiv.org/abs/2505.07581',
},
packages=find_packages(where="src"),
package_dir={'': 'src'},
include_package_data=True,
install_requires=required_packages,
extras_require={'tune': tune_extras},
python_requires='>=3.10,<3.11',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Sociology',
],
entry_points={
'console_scripts': [
'yulan-onesim-cli=main:cli_entry_point',
'yulan-onesim-server=app:start_server',
],
},
)