diff --git a/pyproject.toml b/pyproject.toml index 65ca576..6ac579e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,16 +16,17 @@ [build-system] -requires = ["setuptools>=77.0.1,<83"] +requires = ["setuptools>=79.0.0,<85"] build-backend = "setuptools.build_meta" [project] name = "TokeNicer" -version = "0.0.14" +version = "0.0.15" description = "A (nicer) tokenizer you want to use for model `inference` and `training`: with all known peventable `gotchas` normalized or auto-fixed." readme = "README.md" -requires-python = ">=3" +requires-python = ">=3.10" license = "Apache-2.0" +dynamic = ["dependencies"] authors = [ {name = "ModelCloud", email = "qubitium@modelcloud.ai"} ] @@ -39,6 +40,8 @@ Homepage = "https://github.com/ModelCloud/Tokenicer" [tool.setuptools.packages.find] where = ["."] +include = ["tokenicer*"] +exclude = ["tests*", "test*"] [tool.setuptools.dynamic] dependencies = {file = ["requirements.txt"]} diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..3d2ec1d --- /dev/null +++ b/setup.cfg @@ -0,0 +1,29 @@ +# Copyright 2025 ModelCloud.ai +# Copyright 2025 qubitium@modelcloud.ai +# Contact: qubitium@modelcloud.ai, x.com/qubitium +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +[metadata] +name = TokeNicer +version = 0.0.15 +description = A (nicer) tokenizer you want to use for model `inference` and `training`: with all known peventable `gotchas` normalized or auto-fixed. +long_description = file: README.md +long_description_content_type = text/markdown +author = ModelCloud +author_email = qubitium@modelcloud.ai +url = https://github.com/ModelCloud/Tokenicer + +[options] +packages = tokenicer +python_requires = >=3.10