Skip to content

Commit

Permalink
Setup fix (#33)
Browse files Browse the repository at this point in the history
* move about info to __about__.py

* update install instructions

* bump to 0.1.3
  • Loading branch information
EtWnn authored Jun 6, 2021
1 parent ca5048b commit 1da70d4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CryptoPrice/__about__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__version__ = "0.1.3"
__author__ = "EtWnn"
3 changes: 1 addition & 2 deletions CryptoPrice/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
__version__ = "0.1.2"
__author__ = "EtWnn"
from CryptoPrice.__about__ import *

from CryptoPrice.retrievers.BinanceRetriever import BinanceRetriever
from CryptoPrice.retrievers.KucoinRetriever import KucoinRetriever
Expand Down
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
===============================
Welcome to CryptoPrice 0.1.2
Welcome to CryptoPrice 0.1.3
===============================


Expand Down Expand Up @@ -38,8 +38,11 @@ Quick Tour

.. code:: bash
pip install --no-deps python-CryptoPrice
pip install python-CryptoPrice
*Note*: `--no-deps` is needed as one of the dependencies is not hosted one PYPI, simply on git.

You can also install the latest developments (not stable):

.. code:: bash
Expand Down
3 changes: 3 additions & 0 deletions docs/source/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ Installation

.. code:: bash
pip install --no-deps python-CryptoPrice
pip install python-CryptoPrice
*Note*: `--no-deps` is needed as one of the dependencies is not hosted one PYPI, simply on git.

You can also install the latest developments (not stable):

.. code:: bash
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
long_description = f.read()

about = {}
with open(os.path.join(this_directory, 'CryptoPrice/__init__.py'), encoding='utf-8') as f:
with open(os.path.join(this_directory, 'CryptoPrice/__about__.py'), encoding='utf-8') as f:
exec(f.read(), about)

setup(
Expand Down

0 comments on commit 1da70d4

Please sign in to comment.