Skip to content

Commit e87a821

Browse files
committed
[add] setup.py
1 parent 61189be commit e87a821

2 files changed

Lines changed: 35 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__pycache__/
2-
setup*
2+
setup.cfg
33
_build/
44
dist/
55
*.eg*

setup.py

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
from setuptools import setup, find_packages
2+
3+
4+
def readme():
5+
with open('README.md', 'r') as f:
6+
return f.read()
7+
8+
9+
setup(
10+
name='tokenizerchanger',
11+
version='1.1.0',
12+
author='1kkiren',
13+
author_email='1kkiren@mail.ru',
14+
description='Library for manipulating the existing tokenizer.',
15+
long_description=readme(),
16+
long_description_content_type='text/markdown',
17+
url='https://github.com/1kkiRen/Tokenizer-Changer',
18+
packages=find_packages(),
19+
install_requires=[
20+
'tokenizers>=0.21.0',
21+
'tqdm>=4.66.4',
22+
'transformers>=4.47.0',
23+
],
24+
classifiers=[
25+
'Programming Language :: Python :: 3.10',
26+
'License :: OSI Approved :: Apache Software License',
27+
'Operating System :: OS Independent'
28+
],
29+
keywords='tokenizer deletion tokens ',
30+
project_urls={
31+
'GitHub': 'https://github.com/1kkiRen/Tokenizer-Changer'
32+
},
33+
python_requires='>=3.9'
34+
)

0 commit comments

Comments
 (0)