diff --git a/README.md b/README.md index 33f2608..d4e39b7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - +
@@ -58,7 +58,7 @@ If you want to offer me a coffee, I would be grateful ❤️
-If you have any issues or you want to contribute, you are welcome! But please before read the [CONTRIBUTING.md](/CONTRIBUTING.md)
+If you have any issues or you want to contribute, you are welcome! But please before read the [CONTRIBUTING.md](https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/blob/master/CONTRIBUTING.md) file.
## Main differences from the original repository:
@@ -171,15 +171,23 @@ No browser needed. [#41](https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner
```
## How to use:
+### Download via pip
+Via pip you can download the stable version of the project.
+
+`pip install Twitch-Channel-Points-Miner-v2`
+
+### Download via Github
+Via GitHub you can download the latest version of the project.
1. Clone this repository `git clone https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2`
-2. Install all the requirements `pip install -r requirements.txt` . If you have problems with requirements, make sure to have at least Python3.6. You could also try to create a virtualenv and then install all the requirements
+2. Install all the requirements `pip install -r requirements.txt` . If you have problems with requirements, make sure to have at least Python3.6. You could also try to create a _virtualenv_ and then install all the requirements
```sh
pip install virtualenv
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
```
-3. Create your `run.py` file start from [example.py](/example.py)
+
+Then create your `run.py` file start from [example.py](https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/blob/master/example.py).
```python
# -*- coding: utf-8 -*-
@@ -276,7 +284,7 @@ from TwitchChannelPointsMiner import TwitchChannelPointsMiner
twitch_miner = TwitchChannelPointsMiner("your-twitch-username")
twitch_miner.mine(followers=True, blacklist=["user1", "user2"]) # Blacklist example
```
-4. Start mining! `python run.py`
+Start mining! `python run.py` 🥳
### Limits
> Twitch has a limit - you can't watch more than two channels at one time. We take the first two streamers from the list as they have the highest priority.
@@ -371,7 +379,7 @@ ColorPalette(
- **PERCENTAGE**: Select the option with the highest percentage based on odds (It's the same that show Twitch) - Should be the same as select LOWEST_ODDS
- **SMART**: If the majority in percent chose an option, then follow the other users, otherwise select the option with the highest odds
-
+
Here a concrete example:
@@ -428,7 +436,7 @@ If you want you can toggle the dark theme with the dedicated checkbox.
| Light theme | Dark theme |
| ----------- | ---------- |
-|  |  |
+|  |  |
For use this feature just call the `analytics` method before start mining. Read more at: [#96](https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/issues/96)
The chart will be autofreshed each `refresh` minutes. If you want to connect from one to second machine that have that webpanel you have to use `0.0.0.0` instead of `127.0.0.1`.
diff --git a/TwitchChannelPointsMiner/__init__.py b/TwitchChannelPointsMiner/__init__.py
index f581ca0..5ba6a33 100644
--- a/TwitchChannelPointsMiner/__init__.py
+++ b/TwitchChannelPointsMiner/__init__.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-__version__ = "2.7.2"
+__version__ = "2.0.3"
from .TwitchChannelPointsMiner import TwitchChannelPointsMiner
__all__ = [
diff --git a/setup.py b/setup.py
index c9d80da..840cc83 100644
--- a/setup.py
+++ b/setup.py
@@ -25,12 +25,22 @@ setuptools.setup(
url="https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2",
packages=setuptools.find_packages(),
include_package_data=True,
- install_requires=read("requirements.txt").splitlines(),
+ install_requires=[
+ "requests==2.25.1",
+ "websocket-client==1.0.1",
+ "browser_cookie3==0.12.1",
+ "pillow==8.3.2",
+ "python-dateutil==2.8.1",
+ "emoji==1.2.0",
+ "millify==0.1.1",
+ "pre-commit==2.13.0",
+ "colorama==0.4.4",
+ "flask==2.0.1",
+ "irc==19.0.1",
+ ],
long_description=read("README.md"),
long_description_content_type="text/markdown",
classifiers=[
- "Development Status :: 4 - Beta",
- "Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
@@ -43,5 +53,5 @@ setuptools.setup(
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
],
- python_requires=">=3, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
+ python_requires=">=3.6",
)