From e8b3aa2b3057bfe602f41174c485a8a1233c1362 Mon Sep 17 00:00:00 2001 From: Joy Date: Thu, 13 Jun 2019 14:13:05 +0600 Subject: [PATCH] modified version name and added setup.cfg --- setup.py | 12 ++++++++++-- usnews-scrapper/setup.cfg | 2 ++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 usnews-scrapper/setup.cfg diff --git a/setup.py b/setup.py index 95ac479..e4711ec 100644 --- a/setup.py +++ b/setup.py @@ -1,16 +1,24 @@ from distutils.core import setup +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() + setup( name = 'usnews-scrapper', packages = ['usnews-scrapper'], - version = '0.1', + version = 'v0.1', license='MIT', description = 'Collects Grad School data from https://www.usnews.com and gives output in a .xls file.', author = 'Joy Ghosh', author_email = 'joyghosh826@gmail.com', url = 'https://www.ijoyghosh.com', - download_url = 'https://github.com/user/reponame/archive/v_01.tar.gz', # I explain this later on + #download_url = 'https://github.com/user/reponame/archive/v_01.tar.gz', # I explain this later on keywords = ['scraper', 'usnews', 'graduate', 'grad', 'school', 'university', 'crawler'], + long_description=long_description, + long_description_content_type='text/markdown', install_requires=[ 'requests==2.22.0', 'tablib==0.13.0', diff --git a/usnews-scrapper/setup.cfg b/usnews-scrapper/setup.cfg new file mode 100644 index 0000000..b88034e --- /dev/null +++ b/usnews-scrapper/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +description-file = README.md