From 32a179fc004026eab5d8491eb0875bfdd61502e3 Mon Sep 17 00:00:00 2001 From: Davide Casale Date: Fri, 17 Feb 2023 19:08:28 +0100 Subject: [PATCH] Add LICENSE.md file (Apache-V2). Edit setup.py with new arguments. Prepare to distribute on PyPI. --- LICENSE | 1 + setup.py | 37 ++++++++++++++++++++++++++----------- 2 files changed, 27 insertions(+), 11 deletions(-) diff --git a/LICENSE b/LICENSE index 2bb9ad2..4947287 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,4 @@ + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ diff --git a/setup.py b/setup.py index ce3ae3e..93bcd68 100644 --- a/setup.py +++ b/setup.py @@ -2,18 +2,36 @@ from distutils.core import setup setup( name="bitfinex-api-py", - version="3.0.0", + version="3.0.0b1", + description="Official Bitfinex Python API", + long_description="A Python reference implementation of the Bitfinex API for both REST and websocket interaction", + long_description_content_type="text/markdown", + url="https://github.com/bitfinexcom/bitfinex-api-py", + author="Bitfinex", + author_email="support@bitfinex.com", + license="Apache-2.0", + classifiers=[ + "Development Status :: 4 - Beta", + + "Intended Audience :: Developers", + "Topic :: Software Development :: Build Tools", + + "License :: OSI Approved :: Apache-2.0", + + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + ], + keywords="bitfinex,api,trading", + project_urls={ + "Bug Reports": "https://github.com/bitfinexcom/bitfinex-api-py/issues", + "Source": "https://github.com/bitfinexcom/bitfinex-api-py", + }, packages=[ "bfxapi", "bfxapi.utils", "bfxapi.websocket", "bfxapi.websocket.client", "bfxapi.websocket.handlers", "bfxapi.rest", "bfxapi.rest.endpoints", "bfxapi.rest.middleware", ], - url="https://github.com/bitfinexcom/bitfinex-api-py", - license="OSI Approved :: Apache Software License", - author="Bitfinex", - author_email="support@bitfinex.com", - description="Official Bitfinex Python API", - keywords="bitfinex,api,trading", install_requires=[ "certifi~=2022.12.7", "charset-normalizer~=2.1.1", @@ -29,8 +47,5 @@ setup( "urllib3~=1.26.13", "websockets~=10.4", ], - project_urls={ - "Bug Reports": "https://github.com/bitfinexcom/bitfinex-api-py/issues", - "Source": "https://github.com/bitfinexcom/bitfinex-api-py", - } + python_requires=">=3.8" ) \ No newline at end of file