From 4798992abf55e3fb9786ddd303cfdfd0e25b2529 Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Fri, 26 Nov 2021 11:55:21 +0530 Subject: [PATCH] chore: Update setup.py * Add long description using README.md * Add project URLs. This will brighten up https://pypi.org/project/frappe-bench/ a bit * Update contact, license info, etc * Add project classifiers --- setup.py | 41 +++++++++++++++++++++++++++++++---------- 1 file changed, 31 insertions(+), 10 deletions(-) diff --git a/setup.py b/setup.py index 36835aa6..bb48a876 100644 --- a/setup.py +++ b/setup.py @@ -1,22 +1,43 @@ from setuptools import find_packages, setup from bench import PROJECT_NAME, VERSION -with open('requirements.txt') as f: - install_requires = f.read().strip().split('\n') +with open("requirements.txt") as f: + install_requires = f.read().strip().split("\n") + +with open("README.md") as f: + long_description = f.read() setup( name=PROJECT_NAME, - description='CLI to manage Multi-tenant deployments for Frappe apps', - author='Frappe Technologies', - author_email='info@frappe.io', + description="CLI to manage Multi-tenant deployments for Frappe apps", + long_description=long_description, + long_description_content_type="text/markdown", version=VERSION, + license="GPLv3", + author="Frappe Technologies Pvt Ltd", + author_email="developers@frappe.io", + url="https://frappe.io/bench", + project_urls={ + "Documentation": "https://frappeframework.com/docs/user/en/bench", + "Source": "https://github.com/frappe/bench", + "Changelog": "https://github.com/frappe/bench/releases", + }, + classifiers=[ + "Development Status :: 5 - Production/Stable", + "Environment :: Console", + "Framework :: Frappe Framework", + "License :: OSI Approved :: GNU Affero General Public License v3", + "Natural Language :: English", + "Operating System :: MacOS", + "Operating System :: OS Independent", + "Topic :: Software Development :: Build Tools", + "Topic :: Software Development :: User Interfaces", + "Topic :: System :: Installation/Setup", + ], packages=find_packages(), - python_requires='~=3.6', + python_requires="~=3.6", zip_safe=False, include_package_data=True, install_requires=install_requires, - entry_points=''' -[console_scripts] -bench=bench.cli:cli -''', + entry_points={"console_scripts": ["bench=bench.cli:cli"]}, )