From 04f26ee107c1d2ad1dbc1f76d0cbe9f2d090b7da Mon Sep 17 00:00:00 2001 From: hhsecond Date: Sat, 6 Aug 2016 20:16:57 +0530 Subject: [PATCH] modified setup --- setup.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index ea87f88..63e4c8f 100644 --- a/setup.py +++ b/setup.py @@ -6,11 +6,12 @@ # README file and 2) it's easier to type in the README file than to put a raw # string in below ... def read(fname): - return open(os.path.join(os.path.dirname(__file__), fname)).read() + with open(os.path.join(os.path.dirname(__file__), fname)) as f: + return '\n'.join(f.readlines()) setup( name = "corenlp_pywrap", - version = "0.0.6", + version = "0.0.9", author = "hhsecond", author_email = "sherinct@live.com", description = ("A powerful python wraper for Stanford CoreNLP"), @@ -18,10 +19,11 @@ def read(fname): keywords = "stanford corenlp wrapper", install_requires=['requests'], url = "https://www.github.com/hhsecond/corenlp_pywrap", + download_url = "https://www.github.com/hhsecond/corenlp_pywrap/tarball/0.0.9", packages=['corenlp_pywrap'], - long_description='this is a long description', + long_description=read('README.md'), classifiers=[ - "Development Status :: 4 - Beta", + "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Science/Research", "Topic :: Scientific/Engineering :: Artificial Intelligence", "License :: OSI Approved :: MIT License",