Skip to content

Commit fbaa86e

Browse files
committed
Sync codebase
1 parent c4b8770 commit fbaa86e

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@ from setuptools import setup, find_namespace_packages
9393

9494
setup(
9595
name="my_tiktoken_extension",
96-
packages=find_namespace_packages(include=['tiktoken_ext.*'])
96+
packages=find_namespace_packages(include=['tiktoken_ext*']),
9797
install_requires=["tiktoken"],
9898
...
9999
)
100100
```
101101

102-
Then simply `pip install my_tiktoken_extension` and you should be able to use your custom encodings!
103-
Make sure **not** to use an editable install.
102+
Then simply `pip install ./my_tiktoken_extension` and you should be able to use your
103+
custom encodings! Make sure **not** to use an editable install.
104104

pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
[project]
22
name = "tiktoken"
33
version = "0.2.0"
4+
description = "tiktoken is a fast BPE tokeniser for use with OpenAI's models"
5+
readme = "README.md"
6+
license = {file = "LICENSE"}
7+
authors = [{name = "Shantanu Jain"}, {email = "[email protected]"}]
48
dependencies = ["blobfile>=2", "regex>=2022.1.18", "requests>=2.26.0"]
59
requires-python = ">=3.8"
610

11+
[project.urls]
12+
homepage = "https://github.com/openai/tiktoken"
13+
repository = "https://github.com/openai/tiktoken"
14+
changelog = "https://github.com/openai/tiktoken/blob/main/CHANGELOG.md"
15+
716
[build-system]
817
build-backend = "setuptools.build_meta"
918
requires = ["setuptools>=62.4", "wheel", "setuptools-rust>=1.5.2"]

0 commit comments

Comments
 (0)