Skip to content

Commit 1da70d4

Browse files
authored
Setup fix (#33)
* move about info to __about__.py * update install instructions * bump to 0.1.3
1 parent ca5048b commit 1da70d4

5 files changed

Lines changed: 11 additions & 4 deletions

File tree

CryptoPrice/__about__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
__version__ = "0.1.3"
2+
__author__ = "EtWnn"

CryptoPrice/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
__version__ = "0.1.2"
2-
__author__ = "EtWnn"
1+
from CryptoPrice.__about__ import *
32

43
from CryptoPrice.retrievers.BinanceRetriever import BinanceRetriever
54
from CryptoPrice.retrievers.KucoinRetriever import KucoinRetriever

README.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
===============================
2-
Welcome to CryptoPrice 0.1.2
2+
Welcome to CryptoPrice 0.1.3
33
===============================
44

55

@@ -38,8 +38,11 @@ Quick Tour
3838

3939
.. code:: bash
4040
41+
pip install --no-deps python-CryptoPrice
4142
pip install python-CryptoPrice
4243
44+
*Note*: `--no-deps` is needed as one of the dependencies is not hosted one PYPI, simply on git.
45+
4346
You can also install the latest developments (not stable):
4447

4548
.. code:: bash

docs/source/overview.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ Installation
88

99
.. code:: bash
1010
11+
pip install --no-deps python-CryptoPrice
1112
pip install python-CryptoPrice
1213
14+
*Note*: `--no-deps` is needed as one of the dependencies is not hosted one PYPI, simply on git.
15+
1316
You can also install the latest developments (not stable):
1417

1518
.. code:: bash

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
long_description = f.read()
88

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

1313
setup(

0 commit comments

Comments
 (0)