-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (46 loc) · 1.12 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
from setuptools import setup
setup(name='get_crypto_price',
version='0.2.2',
description="""A library to getting crypto price.""",
long_description="""
# Get Crypto Price
A library to getting crypto price.
# Install
```
pip3 install get-crypto-price
```
# Using
## In another script
```python
from get_crypto_price import get_crypto_price
# get_crypto_price(source = "bitstamp", crypto="btc", pair = "usdt")
print(get_crypto_price())
```
## In command line
```console
-h, --help show this help message and exit
-s SOURCE, --source SOURCE
Source
-c CRYPTO, --crypto CRYPTO
Crypto
-p PAIR, --pair PAIR Pair
```
```console
get_crypto_price
```
""",
long_description_content_type='text/markdown',
url='https://github.com/onuratakan/get_crypto_price',
author='Onur Atakan ULUSOY',
author_email='atadogan06@gmail.com',
license='MIT',
packages=["get_crypto_price"],
package_dir={'':'src'},
install_requires=[
"requests==2.25.1"
],
entry_points = {
'console_scripts': ['get_crypto_price=get_crypto_price.get_crypto_price:arguments'],
},
python_requires=">= 3",
zip_safe=False)