lwm-spectro / pyproject.toml
stevekor's picture
Sync local development code into HF repo
eaaeb1b
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
# Alternative build system for better editable support
# requires = ["setuptools>=64", "setuptools_scm"]
# build-backend = "setuptools.build_meta"
[project]
name = "lwm-spectro"
version = "0.1.0"
description = "LWM Spectrogram Adapter for wireless channel modeling and classification"
authors = [
{name = "Your Name", email = "your.email@example.com"},
]
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
# Core PyTorch ecosystem
"torch>=2.0.0",
"torchvision>=0.15.0",
"torchaudio>=2.0.0",
# Scientific computing - Updated for server compatibility
"numpy>=1.21.0,<2.4.0", # Support NumPy 2.3 on server
"scipy>=1.8.0", # Use system scipy if available
"scikit-learn>=1.6.1",
"numba>=0.59.0", # Updated numba for NumPy 2.3 compatibility
# Data visualization - Updated for server compatibility
"matplotlib>=3.4", # Allow newer matplotlib versions
"seaborn>=0.11.0",
"pillow>=9.0",
# Progress bars and utilities
"tqdm>=4.67.1",
# Deep learning utilities
"umap-learn>=0.5.7",
# Networking and data
"requests>=2.32.3",
"pyyaml>=6.0.2",
# Wireless channel modeling (DeepMIMO) - Install separately
# Note: Install DeepMIMO separately with: pip install --no-deps "DeepMIMO>=4.0.0b9"
# This prevents NumPy/matplotlib version conflicts
]
[project.optional-dependencies]
dev = [
"jupyter",
"ipykernel",
"ipython",
"notebook",
"pytest>=7.0.0",
"pytest-cov",
"black",
"flake8",
"mypy",
]
gpu = [
"torch[cu121]>=2.5.1", # CUDA 12.1 support
]
[project.urls]
Homepage = "https://github.com/yourusername/lwm-spectro"
Repository = "https://github.com/yourusername/lwm-spectro"
"Bug Reports" = "https://github.com/yourusername/lwm-spectro/issues"
Documentation = "https://github.com/yourusername/lwm-spectro#readme"
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
exclude = ["tests*", "docs*"]
[tool.black]
line-length = 88
target-version = ['py312']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]