2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 08:16:28 +00:00

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
This commit is contained in:
Gavin D'souza 2021-11-26 11:55:21 +05:30
parent d63a9883e0
commit 4798992abf

View File

@ -1,22 +1,43 @@
from setuptools import find_packages, setup from setuptools import find_packages, setup
from bench import PROJECT_NAME, VERSION from bench import PROJECT_NAME, VERSION
with open('requirements.txt') as f: with open("requirements.txt") as f:
install_requires = f.read().strip().split('\n') install_requires = f.read().strip().split("\n")
with open("README.md") as f:
long_description = f.read()
setup( setup(
name=PROJECT_NAME, name=PROJECT_NAME,
description='CLI to manage Multi-tenant deployments for Frappe apps', description="CLI to manage Multi-tenant deployments for Frappe apps",
author='Frappe Technologies', long_description=long_description,
author_email='info@frappe.io', long_description_content_type="text/markdown",
version=VERSION, 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(), packages=find_packages(),
python_requires='~=3.6', python_requires="~=3.6",
zip_safe=False, zip_safe=False,
include_package_data=True, include_package_data=True,
install_requires=install_requires, install_requires=install_requires,
entry_points=''' entry_points={"console_scripts": ["bench=bench.cli:cli"]},
[console_scripts]
bench=bench.cli:cli
''',
) )