From 615c2b8e02f3110b9fad0548617d57f86d230853 Mon Sep 17 00:00:00 2001 From: michal Date: Sun, 7 Aug 2022 11:26:50 +0300 Subject: [PATCH 1/2] added more details to setup.py --- setup.py | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index a8439cb8..7fdb7072 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,18 @@ from setuptools import find_packages, setup - +from pathlib import Path from cli import __version__ + +def get_long_description(): + this_directory = Path(__file__).parent + return (this_directory / "README.md").read_text() + + setup( name='cycode', version=__version__, packages=find_packages(), - url='https://github.com/cycodehq/cycode_cli', + url='https://github.com/cycodehq-public/cycode-cli', license='MIT', author='Cycode', data_files=[('cyclient', ['cyclient/config.yaml']), ('cli', ['cli/config.yaml'])], @@ -15,8 +21,10 @@ 'cycode=cli.cycode:main_cli', ]}, include_package_data=True, - author_email='maor@cycode.com', - description='', + author_email='support@cycode.com', + description="Perform secrets/iac scans for your sources using Cycode's engine", + long_description=get_long_description(), + long_description_content_type="text/markdown", install_requires=["click", "requests", "pyyaml", @@ -33,7 +41,6 @@ classifiers=[ "Environment :: Console", "Programming Language :: Python", - "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", From c373e866c9dd51c5e8fc6a015c79ede74ebf9188 Mon Sep 17 00:00:00 2001 From: michal Date: Sun, 7 Aug 2022 11:27:29 +0300 Subject: [PATCH 2/2] add encoding --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7fdb7072..cbace6d5 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ def get_long_description(): this_directory = Path(__file__).parent - return (this_directory / "README.md").read_text() + return (this_directory / "README.md").read_text(encoding='utf-8') setup(