-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathsetup.py
31 lines (27 loc) · 924 Bytes
/
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
# coding=utf-8
from setuptools import setup
with open("README.md", "r") as infile:
long_description = infile.read()
with open("requirements.txt") as infile:
dependencies = [line.strip() for line in infile if len(line) > 0]
setup(
name="bpe",
version="1.0",
description="Byte pair encoding for graceful handling of rare words in NLP",
url="https://github.com/soaxelbrooke/python-bpe",
author="Stuart Axelbrooke",
author_email="[email protected]",
license="MIT",
long_description=long_description,
long_description_content_type="text/markdown",
packages=["bpe"],
setup_requires=["pytest-runner"],
tests_require=["pytest", "hypothesis"],
install_requires=dependencies,
zip_safe=False,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)