From 66568889aeab469ac142d6c95fbb8162d3790d22 Mon Sep 17 00:00:00 2001 From: Tom French Date: Sun, 7 Apr 2019 00:34:01 +0100 Subject: [PATCH] made README visible on PyPi added some classifiers for PyPi --- setup.py | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/setup.py b/setup.py index c768555..eda38a6 100644 --- a/setup.py +++ b/setup.py @@ -1,16 +1,26 @@ from setuptools import setup -setup(name='monzo', - version='0.9.0', - description='A python SDK for interacting with the Monzo API.', - url='https://github.com/muyiwaolu/monzo-python', - author='Muyiwa Olu', - author_email='muyiolu94@gmail.com', - license='MIT', - packages=['monzo'], - install_requires=[ - 'requests', - 'requests-oauthlib', - 'python-dotenv' - ], - ) +with open("README.md", "r") as fh: + long_description = fh.read() + +setup( + name="monzo", + version="0.9.0", + description="A python SDK for interacting with the Monzo API.", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/muyiwaolu/monzo-python", + author="Muyiwa Olu", + author_email="muyiolu94@gmail.com", + license="MIT", + packages=["monzo"], + install_requires=[ + "requests==2.20.0", + "requests-oauthlib==1.0.0", + "python-dotenv==0.5.1", + ], + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + ], +)