From 96738a094f42bd40da08ec91753443db505aca5e Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 23 Mar 2025 00:31:16 -0400 Subject: [PATCH] Drop legacy `setup.py`, we use `uv` now dog Also remove the old `requirements-test/docs.txt` files moving the docs deps as a masked TODO to our `pyproject.toml`. --- pyproject.toml | 8 ++++ requirements-docs.txt | 2 - requirements-test.txt | 8 ---- setup.py | 103 ------------------------------------------ 4 files changed, 8 insertions(+), 113 deletions(-) delete mode 100644 requirements-docs.txt delete mode 100644 requirements-test.txt delete mode 100755 setup.py diff --git a/pyproject.toml b/pyproject.toml index 9372685e..592175f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,6 +73,14 @@ dev = [ "xonsh-vox-tabcomplete>=0.5,<0.6", "pyperclip>=1.9.0", ] +# TODO, add these with sane versions; were originally in +# `requirements-docs.txt`.. +# docs = [ +# "sphinx>=" +# "sphinx_book_theme>=" +# ] + +# ------ dependency-groups ------ [tool.uv.sources] msgspec = { git = "https://github.com/jcrist/msgspec.git" } diff --git a/requirements-docs.txt b/requirements-docs.txt deleted file mode 100644 index 2c88be7e..00000000 --- a/requirements-docs.txt +++ /dev/null @@ -1,2 +0,0 @@ -sphinx -sphinx_book_theme diff --git a/requirements-test.txt b/requirements-test.txt deleted file mode 100644 index 8070f2c7..00000000 --- a/requirements-test.txt +++ /dev/null @@ -1,8 +0,0 @@ -pytest -pytest-trio -pytest-timeout -pdbp -mypy -trio_typing -pexpect -towncrier diff --git a/setup.py b/setup.py deleted file mode 100755 index 66b2622d..00000000 --- a/setup.py +++ /dev/null @@ -1,103 +0,0 @@ -#!/usr/bin/env python -# -# tractor: structured concurrent "actors". -# -# Copyright 2018-eternity Tyler Goodlet. - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. - -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . - -from setuptools import setup - -with open('docs/README.rst', encoding='utf-8') as f: - readme = f.read() - - -setup( - name="tractor", - version='0.1.0a6dev0', # alpha zone - description='structured concurrent `trio`-"actors"', - long_description=readme, - license='AGPLv3', - author='Tyler Goodlet', - maintainer='Tyler Goodlet', - maintainer_email='goodboy_foss@protonmail.com', - url='https://github.com/goodboy/tractor', - platforms=['linux', 'windows'], - packages=[ - 'tractor', - 'tractor.experimental', # wacky ideas - 'tractor.trionics', # trio extensions - 'tractor.msg', # lowlevel data types - 'tractor._testing', # internal cross-subsys suite utils - 'tractor.devx', # "dev-experience" - ], - install_requires=[ - - # trio related - # proper range spec: - # https://packaging.python.org/en/latest/discussions/install-requires-vs-requirements/#id5 - 'trio == 0.24', - - # 'async_generator', # in stdlib mostly! - # 'trio_typing', # trio==0.23.0 has type hints! - # 'exceptiongroup', # in stdlib as of 3.11! - - # tooling - 'stackscope', - 'tricycle', - 'trio_typing', - 'colorlog', - 'wrapt', - - # IPC serialization - 'msgspec', - - # debug mode REPL - 'pdbp', - - # TODO: distributed transport using - # linux kernel networking - # 'pyroute2', - - # pip ref docs on these specs: - # https://pip.pypa.io/en/stable/reference/requirement-specifiers/#examples - # and pep: - # https://peps.python.org/pep-0440/#version-specifiers - - ], - tests_require=['pytest'], - python_requires=">=3.11", - keywords=[ - 'trio', - 'async', - 'concurrency', - 'structured concurrency', - 'actor model', - 'distributed', - 'multiprocessing' - ], - classifiers=[ - "Development Status :: 3 - Alpha", - "Operating System :: POSIX :: Linux", - "Operating System :: Microsoft :: Windows", - "Framework :: Trio", - "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", - "Programming Language :: Python :: Implementation :: CPython", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.10", - "Intended Audience :: Science/Research", - "Intended Audience :: Developers", - "Topic :: System :: Distributed Computing", - ], -)