diff options
| -rw-r--r-- | module/common/pavement.py (renamed from pavement.py) | 1 | ||||
| -rw-r--r-- | module/common/test_api.py (renamed from tests/test_api.py) | 1 | ||||
| -rw-r--r-- | module/common/test_json.py (renamed from tests/test_json.py) | 1 | ||||
| -rw-r--r-- | systemCheck.py | 119 | ||||
| -rw-r--r-- | testlinks.txt | 26 | 
5 files changed, 0 insertions, 148 deletions
| diff --git a/pavement.py b/module/common/pavement.py index 9f8ebacbf..e66eb75f4 100644 --- a/pavement.py +++ b/module/common/pavement.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python  # -*- coding: utf-8 -*-  from paver.easy import * diff --git a/tests/test_api.py b/module/common/test_api.py index 99e84b3ab..f8901f731 100644 --- a/tests/test_api.py +++ b/module/common/test_api.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python  # -*- coding: utf-8 -*-  from module.common import APIExerciser diff --git a/tests/test_json.py b/module/common/test_json.py index d06457473..320a42d4f 100644 --- a/tests/test_json.py +++ b/module/common/test_json.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python  # -*- coding: utf-8 -*-  from urllib import urlencode diff --git a/systemCheck.py b/systemCheck.py deleted file mode 100644 index 4b4144c16..000000000 --- a/systemCheck.py +++ /dev/null @@ -1,119 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -import os -import subprocess -import sys - -#from module import InitHomeDir - -#very ugly prints, but at least it works with python 3 - - -def main(): -    print("#####   System Information   #####\n") -    print("Platform:", sys.platform) -    print("Operating System:", os.name) -    print("Python:", sys.version.replace("\n", "") + "\n") - -    try: -        import pycurl -        print("pycurl:", pycurl.version) -    except: -        print("pycurl:", "missing") - -    try: -        import Crypto -        print("py-crypto:", Crypto.__version__) -    except: -        print("py-crypto:", "missing") - -    try: -        import OpenSSL -        print("OpenSSL:", OpenSSL.version.__version__) -    except: -        print("OpenSSL:", "missing") - -    try: -        from PIL import Image -        print("image libary:", Image.VERSION) -    except: -        print("image libary:", "missing") - -    print("\n\n#####   System Status   #####") -    print("\n##  pyLoadCore  ##") - -    core_err = [] -    core_info = [] - -    if sys.version_info > (2, 7): -        core_err.append("Your python version is to new, Please use Python 2.6/2.7") - -    if sys.version_info < (2, 5): -        core_err.append("Your python version is to old, Please use at least Python 2.5") - -    try: -        import pycurl -    except: -        core_err.append("Please install py-curl to use pyLoad.") - -    try: -        from pycurl import AUTOREFERER -    except: -        core_err.append("Your py-curl version is to old, please upgrade!") - -    try: -        from PIL import Image -    except: -        core_err.append("Please install py-imaging/pil to use Hoster, which uses captchas.") - -    pipe = subprocess.PIPE -    try: -        p = subprocess.call(["tesseract"], stdout=pipe, stderr=pipe) -    except: -        core_err.append("Please install tesseract to use Hoster, which uses captchas.") - -    try: -        import OpenSSL -    except: -        core_info.append("Install OpenSSL if you want to create a secure connection to the core.") - -    if core_err: -        print("The system check has detected some errors:\n") -        for err in core_err: -            print(err) -    else: -        print("No Problems detected, pyLoadCore should work fine.") - -    if core_info: -        print("\nPossible improvements for pyload:\n") -        for line in core_info: -            print(line) - -    print("\n##  Webinterface  ##") - -    web_err = [] -    web_info = [] - -    try: -        import flup -    except: -        web_info.append("Install Flup to use FastCGI or optional webservers.") - -    if web_err: -        print("The system check has detected some errors:\n") -        for err in web_err: -            print(err) -    else: -        print("No Problems detected, Webinterface should work fine.") - -    if web_info: -        print("\nPossible improvements for webinterface:\n") -        for line in web_info: -            print(line) - - -if __name__ == "__main__": -    main() - -    raw_input("Press Enter to Exit.") diff --git a/testlinks.txt b/testlinks.txt deleted file mode 100644 index 428cf63ea..000000000 --- a/testlinks.txt +++ /dev/null @@ -1,26 +0,0 @@ -sha1: - 961486646bf3c1d5d7a45ec32bb62e1bc4f2d894  random.bin -md5: - d76505d0869f9f928a17d42d66326307  random.bin - -please save bandwith on our server, -use this link only for remote uploads to new hoster -http://get.pyload.org/static/random.bin ---------------------------------------- -http://netload.in/datei9XirAJZs79/random.bin.htm -http://ul.to/file/o41isx -http://rapidshare.com/files/445996776/random.bin -http://dl.free.fr/d4aL5dyXY -http://www.duckload.com/dl/QggW2 -http://files.mail.ru/32EW66 -http://www.fileserve.com/file/MxjZXjX -http://www.4shared.com/file/-O5CBhQV/random.html -http://hotfile.com/dl/101569859/2e01f04/random.bin.html -http://www.megaupload.com/?d=1JZLOP3B -http://www.share.cx/files/235687689252/random.bin.html -http://www.share-online.biz/download.php?id=PTCOX1GL6XAH -http://www.shragle.com/files/f899389b/random.bin -http://www10.zippyshare.com/v/76557688/file.html -http://yourfiles.to/?d=312EC6E911 -http://depositfiles.com/files/k8la98953 -http://uploading.com/files/3896f5a1/random.bin/ | 
