Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #37 from PetrochukM/pypi
Browse files Browse the repository at this point in the history
Updates for PyPi Release
  • Loading branch information
PetrochukM committed May 6, 2018
2 parents d061f7d + 68452c0 commit 3f25579
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build_tools/pypi/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ python3.6 setup.py sdist
python3.6 setup.py bdist_wheel

# Upload your distributions to PyPI using twine.
twine upload dist/*
python3.6 -m twine upload dist/*
12 changes: 8 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ def find_version(*file_paths):
raise RuntimeError("Unable to find version string.")


with open('README.md') as f:
long_description = f.read()

VERSION = find_version('torchnlp', '__init__.py')

setup_info = dict(
Expand All @@ -28,13 +31,14 @@ def find_version(*file_paths):
version=VERSION,
author='Michael Petrochuk',
author_email='petrochukm@gmail.com',
url='https://github.com/Deepblue129/PytorchNLP',
url='https://github.com/PetrochukM/PytorchNLP',
description='Text utilities and datasets for PyTorch',
long_description=read('README.md'),
long_description=long_description,
long_description_content_type='text/markdown',
license='BSD',
install_requires=['numpy', 'pandas', 'tqdm', 'ujson', 'requests'],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
Expand All @@ -48,7 +52,7 @@ def find_version(*file_paths):
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords='pytorch nlp text',
keywords='pytorch nlp text torchtext torchnlp',
python_requires='>=3.5',

# Package info
Expand Down
2 changes: 1 addition & 1 deletion torchnlp/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.3.0'
__version__ = '0.3.4'

0 comments on commit 3f25579

Please sign in to comment.