Add LICENSE.md file (Apache-V2). Edit setup.py with new arguments. Prepare to distribute on PyPI.

This commit is contained in:
Davide Casale
2023-02-17 19:08:28 +01:00
parent ab66170cf3
commit 32a179fc00
2 changed files with 27 additions and 11 deletions

View File

@@ -1,3 +1,4 @@
Apache License Apache License
Version 2.0, January 2004 Version 2.0, January 2004
http://www.apache.org/licenses/ http://www.apache.org/licenses/

View File

@@ -2,18 +2,36 @@ from distutils.core import setup
setup( setup(
name="bitfinex-api-py", 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=[ packages=[
"bfxapi", "bfxapi.utils", "bfxapi", "bfxapi.utils",
"bfxapi.websocket", "bfxapi.websocket.client", "bfxapi.websocket.handlers", "bfxapi.websocket", "bfxapi.websocket.client", "bfxapi.websocket.handlers",
"bfxapi.rest", "bfxapi.rest.endpoints", "bfxapi.rest.middleware", "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=[ install_requires=[
"certifi~=2022.12.7", "certifi~=2022.12.7",
"charset-normalizer~=2.1.1", "charset-normalizer~=2.1.1",
@@ -29,8 +47,5 @@ setup(
"urllib3~=1.26.13", "urllib3~=1.26.13",
"websockets~=10.4", "websockets~=10.4",
], ],
project_urls={ python_requires=">=3.8"
"Bug Reports": "https://github.com/bitfinexcom/bitfinex-api-py/issues",
"Source": "https://github.com/bitfinexcom/bitfinex-api-py",
}
) )