-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add README to pypi, fix github pointer, add pip install method
- Loading branch information
1 parent
a83dfd1
commit f9cbe07
Showing
2 changed files
with
26 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,18 +2,30 @@ | |
|
||
from setuptools import setup | ||
|
||
with open('requirements.txt') as infile: | ||
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='0.2.1', | ||
description='Byte pair encoding for graceful handling of rare words in NLP', | ||
url='https://github.com/soaxelbrooke/bpe', | ||
author='Stuart Axelbrooke', | ||
author_email='[email protected]', | ||
license='MIT', | ||
packages=['bpe'], | ||
setup_requires=['pytest-runner'], | ||
tests_require=['pytest', 'hypothesis'], | ||
install_requires=dependencies, | ||
zip_safe=False) | ||
setup( | ||
name="bpe", | ||
version="0.2.2", | ||
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", | ||
], | ||
) |