Skip to content

Commit

Permalink
fix: Add install extras options
Browse files Browse the repository at this point in the history
  • Loading branch information
Simatwa committed May 6, 2024
1 parent 0847d99 commit c0d1b89
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
18 changes: 4 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,17 @@

```

- For those who like enjoying the **latest** releases from [Github](https://github.com) like [me](https://github.com/Simatwa), rather than waiting for the next release:
- For those who like enjoying the **latest** releases from [Github](https://github.com) like [me](https://github.com/Simatwa), rather than waiting for the next one:

```sh
pip install git+https://github.com/Simatwa/smartbetsAPI.git

```

- The hard-core guys with _trust issues_ are very much sorted this way:

```sh

git clone https://github.com/Simatwa/smartbetsAPI.git

cd smartbetsAPI

bash install.sh

#or

sudo bash install.sh
To install it alongside `REST-API` dependencies simply run:

```sh
pip install "smartbetsapi[api]"
```

### Usage
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ def get_file(nm: str) -> list:
long_description="\n".join(get_file("README.md")),
long_description_content_type="text/markdown",
install_requires=[
"fastapi[all]==0.110.1",
"appdirs==1.4.4",
"requests[socks]==2.31.0",
"colorama==0.4.6",
"bs4==0.0.1",
"Faker==15.3.4",
],
extras_require={
'api' : ["fastapi[all]==0.110.1",]
},
python_requires=">=3.9",
project_urls={
"Bug Report": "https://github.com/Simatwa/smartbetsAPI/issues/new",
Expand Down
2 changes: 1 addition & 1 deletion smartbets_API/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.2.9"
__version__ = "1.3.0"
__author__ = "Smartwa Caleb"
from .bet_at_rest_api_level import predictor as rest_api
from .predictor import predictor
Expand Down

0 comments on commit c0d1b89

Please sign in to comment.