Weird bug

This commit is contained in:
Nichlas Severinsen 2018-07-07 11:12:05 +02:00
parent fbec245501
commit de805696e2
5 changed files with 15 additions and 5 deletions

1
.gitignore vendored
View file

@ -1,5 +1,6 @@
*.iso *.iso
*.ird *.ird
*.gz
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files
__pycache__/ __pycache__/

View file

@ -20,6 +20,9 @@
import os import os
import sys import sys
import requests
from bs4 import BeautifulSoup
try: try:
from libray import iso from libray import iso

View file

@ -115,7 +115,7 @@ class IRD:
with gzip.open(filename, 'rb') as gzfile: with gzip.open(filename, 'rb') as gzfile:
with open(self.TEMP_FILE, 'wb') as tmpfile: with open(self.TEMP_FILE, 'wb') as tmpfile:
tmpfile.write(gzfile.read()) tmpfile.write(gzfile.read())
else:
shutil.copyfile(filename, self.TEMP_FILE) shutil.copyfile(filename, self.TEMP_FILE)

View file

@ -1 +1,3 @@
pycrypto==2.6.1 pycrypto==2.6.1
requests==2.19.1
beautifulsoup4==4.6.0

View file

@ -12,5 +12,9 @@ setup(
url="https://notabug.org/necklace/libray", url="https://notabug.org/necklace/libray",
packages=['libray'], packages=['libray'],
scripts=['libray/libray'], scripts=['libray/libray'],
install_requires=['pycrypto==2.6.1'], install_requires=[
'pycrypto==2.6.1',
'requests==2.19.1',
'beautifulsoup4==4.6.0'
],
) )