Add bfxapi/version.py to contain the package version.

This commit is contained in:
Davide Casale
2023-03-22 21:24:44 +01:00
parent 275cff6a2a
commit 34f583cfff
12 changed files with 12 additions and 18 deletions

View File

@@ -1,8 +1,12 @@
from distutils.core import setup
version = {}
with open("bfxapi/version.py", encoding="utf-8") as fp:
exec(fp.read(), version) #pylint: disable=exec-used
setup(
name="bitfinex-api-py",
version="3.0.0b1",
version=version["__version__"],
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",