File tree 2 files changed +12
-3
lines changed 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
93
93
94
94
setup(
95
95
name = " my_tiktoken_extension" ,
96
- packages = find_namespace_packages(include = [' tiktoken_ext. *' ])
96
+ packages = find_namespace_packages(include = [' tiktoken_ext*' ]),
97
97
install_requires = [" tiktoken" ],
98
98
...
99
99
)
100
100
```
101
101
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.
104
104
Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " tiktoken"
3
3
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 = " shantanu@openai.com" }]
4
8
dependencies = [" blobfile>=2" , " regex>=2022.1.18" , " requests>=2.26.0" ]
5
9
requires-python = " >=3.8"
6
10
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
+
7
16
[build-system ]
8
17
build-backend = " setuptools.build_meta"
9
18
requires = [" setuptools>=62.4" , " wheel" , " setuptools-rust>=1.5.2" ]
You can’t perform that action at this time.
0 commit comments