From 84afbe61b87e287c88b3acfa86a9b32be6b79cea Mon Sep 17 00:00:00 2001 From: "emdee@spm.plastiras.org" Date: Fri, 2 Feb 2024 19:29:33 +0000 Subject: [PATCH 1/2] update --- .gitignore | 1 + .rsync.sh | 2 +- README.md | 2 ++ {toktok.ltd => docs/toktok.ltd}/spec.html | 0 pyproject.toml | 39 +++++++++++++++++++++++ 5 files changed, 43 insertions(+), 1 deletion(-) rename {toktok.ltd => docs/toktok.ltd}/spec.html (100%) create mode 100644 pyproject.toml diff --git a/.gitignore b/.gitignore index 8c260ab..88f7486 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ __pycache__/ *.diff .pylint.* *~ +*.bak # C extensions *.so diff --git a/.rsync.sh b/.rsync.sh index b799a0f..28231d2 100644 --- a/.rsync.sh +++ b/.rsync.sh @@ -2,6 +2,6 @@ find * -name \*.py | xargs grep -l '[ ]*$' | xargs sed -i -e 's/[ ]*$//' rsync "$@" -vax --include \*.py \ - --exclude Toxygen.egg-info --exclude build \ + --exclude \*.egg-info --exclude libs --exclude build \ --exclude \*.pyc --exclude .pyl\* --exclude \*~ --exclude \*.so \ ./ ../tox_profile.git/|grep -v /$ diff --git a/README.md b/README.md index 2a587e4..fd06933 100644 --- a/README.md +++ b/README.md @@ -231,5 +231,7 @@ There are a couple of bash scripts to show usage: There is a copy of the Tox [spec](https://toktok.ltd/spec.html) in the repo - it is missing any description of the groups section. +The uptodate version of this code is on https://git.plastiras.org/emdee/tox_profile + Work on this project is suspended until the [MultiDevice](https://git.plastiras.org/emdee/tox_profile/wiki/MultiDevice-Announcements-POC) problem is solved. Fork me! diff --git a/toktok.ltd/spec.html b/docs/toktok.ltd/spec.html similarity index 100% rename from toktok.ltd/spec.html rename to docs/toktok.ltd/spec.html diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..7036bc9 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,39 @@ + +[project] +name = 'tox_profile' +dependencies = ['toxygen_wrapper', 'yaml', 'msgpack'] # coloredlogs nmap +requires-python = ">= 3.6" +description = "Read and manipulate tox profile files" +keywords = ["tox", "tox_profile"] +classifiers = [ + # How mature is this project? Common values are + # 3 - Alpha + # 4 - Beta + # 5 - Production/Stable + "Development Status :: 4 - Beta", + + # Indicate who your project is intended for + "Intended Audience :: Developers", + + # Specify the Python versions you support here. + "Programming Language :: Python :: 3", +] +dynamic = ["version", "readme", ] # cannot be dynamic ['license'] + +[project.urls] +repository = "https://git.plastiras.org/emdee/tox_profile" +homepage = "https://git.plastiras.org/emdee/tox_profile" + + +[build-system] +requires = ["setuptools >= 61.0"] +build-backend = "setuptools.build_meta" + +[tool.setuptools.dynamic] +version = {attr = "tox_profile.__version__"} +readme = {file = ["README.md"]} + +[project.scripts] +tox_profile = "tox_profile:iMain" + + From 7cf2f66783b11a0486c255b32d1d97baf565827d Mon Sep 17 00:00:00 2001 From: "emdee@spm.plastiras.org" Date: Fri, 2 Feb 2024 19:30:57 +0000 Subject: [PATCH 2/2] update --- setup.py | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 setup.py diff --git a/setup.py b/setup.py deleted file mode 100644 index 1babccd..0000000 --- a/setup.py +++ /dev/null @@ -1,31 +0,0 @@ -import sys -import os -from setuptools import setup -from setuptools.command.install import install - -version = '1.0.0' - -setup(name='tox_profile', - version=version, - description='Tox ctypes wrapping testing of Tox profiles', - long_description='Tox ctypes wrapping of Tox profiles', - url='https://git.plastiras.org/emdee/tox_profile/', - keywords='ctypes Tox messenger', - author='emdee', - maintainer='', - license='', - packages=[], - entry_points = {'console_scripts': [ 'tox_profile = tox_profile:iMain', ],}, - install_requires=[], - include_package_data=False, - classifiers=[ - "Environment :: Console", - "Topic :: Internet", - "Development Status :: 4 - Beta", - "Intended Audience :: Developers", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "License :: OSI Approved", - ], - zip_safe=False - )