Skip to content

Commit

Permalink
Bells and whistle for a pypi release (#88)
Browse files Browse the repository at this point in the history
* Use English name.  Set the version to 0.0.4

* Make sure the config files are correctly included every time building a new release

* Include the README as the long description on pypi.  Increment the version number... again
  • Loading branch information
AngledLuffa committed Oct 15, 2020
1 parent 28d451c commit b3de5f1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include elmoformanylangs/configs/*.json
12 changes: 10 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
#!/usr/bin/env python
import setuptools

# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()


setuptools.setup(
name="elmoformanylangs",
version="0.0.3.post1",
version="0.0.4.post2",
packages=setuptools.find_packages(),
install_requires=[
"torch",
Expand All @@ -14,8 +20,10 @@
],
package_data={'configs': ['elmoformanylangs/configs/*.json']},
include_package_data=True,
author="哈工大社会计算与信息检索研究中心",
author="Research Center for Social Computing and Information Retrieval",
description="ELMo, updated to be usable with models for many languages",
long_description=long_description,
long_description_content_type='text/markdown',
url="https://github.com/HIT-SCIR/ELMoForManyLangs",
classifiers=[
"Development Status :: 3 - Alpha",
Expand Down

0 comments on commit b3de5f1

Please sign in to comment.