/
cosmicfuturetoday
/
PSO
Обзор
Документация
Войти
/
cosmicfuturetoday
/
PSO
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
master
setup.py
40 строк
1 KB
Vladimir Goncharov
create setup.py
12 янв 2026, 17:07
12 янв 2026, 17:07
0a97f40
Код
Авторство
О чём код?
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="PSO", version="0.1.0", author="V.D. Goncharov et al.", description="Универсальная модель самоорганизации плазмы в токамаках", long_description=long_description, long_description_content_type="text/markdown", url="https://gitverse.ru/cosmicfuturetoday/PSO", package_dir={"": "src"}, packages=find_packages(where="src"), classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "Topic :: Scientific/Engineering :: Physics", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", ], python_requires=">=3.8", install_requires=requirements, extras_require={ "ml": ["scikit-learn", "torch"], "full": ["scikit-learn", "torch", "xarray", "h5py", "netCDF4", "dask", "numba"], "docs": ["sphinx", "numpydoc", "sphinx-rtd-theme"], }, entry_points={ "console_scripts": [ "plasma-sim=plasma_self_organization.cli:main", ], }, )