aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-08-27 12:10:55 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-08-27 12:10:55 +0200
commit024b0ead1b0839d3591bad3bdd3a6ab6bd20c381 (patch)
treea13ec8234cdbe089b136d52ddd4d2f2fc5163d17 /setup.py
parentaad7043d2f4ea303c30e9490554d66b75fb58f14 (diff)
Migrate to uv and Python 3.14 and add MNIST downloader to make the project runnableHEADmaster
Context / Problem: setup.py + requirements.txt (Python 3.5) no longer install on modern Python, matplotlib missing from deps, main.py save/load broke on numpy 2.x (inhomogeneous array / allow_pickle), and demo required manual mnist.npy/data files. What: replace setup.py/requirements.txt with pyproject.toml (hatchling, PEP 621, requires-python >=3.10, classifiers 3.10-3.14), add .python-version 3.14 and uv.lock, add MultiLayerPerceptron/download.py (mlp-download) to fetch MNIST from storage.googleapis and generate data/train.npy, data/test.npy, mnist.npy, fix MultiLayerPerceptron/main.py layers class var and pickle handling with minimal changes, ignore .venv and track uv.lock, update README with uv workflow. QA: verified uv sync --all-groups, uv run mlp-download, uv run python -m MultiLayerPerceptron.main loads and trains, ruff check passes.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/setup.py b/setup.py
deleted file mode 100644
index f1c7a82..0000000
--- a/setup.py
+++ /dev/null
@@ -1,23 +0,0 @@
-import pathlib
-from setuptools import setup
-
-HERE = pathlib.Path(__file__).parent
-
-README = (HERE / "README.md").read_text()
-
-setup(
- name="multilayer-perceptron",
- version="1.0.0",
- url="https://github.com/Mertaami/multilayer-perceptron",
- author="Kagamino",
- author_email="martin@lehoux.net",
- license="MIT",
- classifiers=[
- "License :: OSI Approved :: MIT License",
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.5",
- ],
- packages=["MultiLayerPerceptron"],
- install_requires=["numpy"],
- include_package_data=True
-) \ No newline at end of file