File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -93,12 +93,12 @@ from setuptools import setup, find_namespace_packages
9393
9494setup(
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
Original file line number Diff line number Diff line change 11[project ]
22name = " tiktoken"
33version = " 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 = " shantanu@openai.com" }]
48dependencies = [" blobfile>=2" , " regex>=2022.1.18" , " requests>=2.26.0" ]
59requires-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 ]
817build-backend = " setuptools.build_meta"
918requires = [" setuptools>=62.4" , " wheel" , " setuptools-rust>=1.5.2" ]
You can’t perform that action at this time.
0 commit comments