-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
executable file
·34 lines (32 loc) · 1.05 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="token-count",
version="0.2.1",
packages=find_packages(),
install_requires=[
"tiktoken",
"gitignore-parser",
],
entry_points={
"console_scripts": [
"token-count = token_count:main",
],
},
author="Felvin",
author_email="[email protected]",
description="Count the number of tokens in a text string or file, similar to the Unix 'wc' utility.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/felvin-search/token-count",
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)