Skip to content

Commit

Permalink
Fixed dependencies version, changed some bad imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabisonfire committed Apr 25, 2020
1 parent a010dac commit 9b58957
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ pylint = "*"
autopep8 = "*"

[packages]
requests = "*"
requests = "==2.23.0"
justlog = "*"
tabulate = "*"
colorama = "*"
transmission-clutch = "*"
deluge-client = "*"
python-qbittorrent = "*"
tabulate = "==0.8.7"
colorama = "==0.4.3"
transmission-clutch = "==3.1.0"
deluge-client = "==1.8.0"
python-qbittorrent = "==0.4.2"

[requires]
python_version = "3.7"
python_version = "3"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Raincoat is a CLI tool to search torrents using [Jackett](https://github.com/Jac

### Usage

`raincoat`
`raincoat terms_to_search`

#### Parameters

Expand All @@ -39,7 +39,7 @@ Upon installation, a config file is created in your home directory. Before you c
{
"jackett_apikey": "",
"jackett_url": "http://your_base_jackett_url",
"jacket_indexer": "all",
"jackett_indexer": "all",
"description_length": 100,
"exclude": "words to exclude",
"results_limit": 20,
Expand Down
4 changes: 2 additions & 2 deletions raincoat/raincoat.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@


# Constants
VERSION = "0.5"
VERSION = "0.7"
APP_NAME = "Raincoat"

parser = argparse.ArgumentParser()
parser.add_argument("search", help="The field to search.")
parser.add_argument("search", help="What to search for.")
parser.add_argument("-k", "--key", help="The Jackett API key.")
parser.add_argument("-l", "--length", help="Max results description length.", type=int)
parser.add_argument("-L", "--limit", help="Max number of results.", type=int)
Expand Down
2 changes: 1 addition & 1 deletion raincoat/torrent.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from clutch.core import Client as tClient
from clutch import Client as tClient
from deluge_client import DelugeRPCClient
from qbittorrent import Client as qClient
from .helpers import fetch_torrent_url
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def run(self):

setuptools.setup(
name="raincoat-jackett",
version="0.6",
version="0.7",
author="Gabisonfire",
author_email="[email protected]",
description="Raincoat is a tool to search torrents using Jackett and send them to your client.",
Expand All @@ -53,7 +53,7 @@ def run(self):
"Operating System :: Unix",
"Topic :: Communications :: File Sharing",
],
install_requires=["requests", "justlog", "colorama", "tabulate", "transmission-clutch", "deluge-client", "python-qbittorrent"],
install_requires=["requests==2.23.0", "justlog", "colorama==0.4.3", "tabulate==0.8.7", "transmission-clutch==3.1.0", "deluge-client==1.8.0", "python-qbittorrent==0.4.2"],
cmdclass={
'install': PostInstallCommand
},
Expand Down

0 comments on commit 9b58957

Please sign in to comment.