about summary refs log tree commit diff
path: root/setup.py
diff options
context:
space:
mode:
authorPaweł Jastrzębski <[email protected]>2016-04-30 16:39:35 +0200
committerPaweł Jastrzębski <[email protected]>2016-04-30 16:39:35 +0200
commit2ca07430a004a1b574fb184fe65bf31c548bba6f (patch)
treedf5e44e0939b7dcd59f32e5916c261ec42403164 /setup.py
parentMerge pull request #169 from ciromattia/dev (diff)
parentMiscellaneous tweaks (diff)
downloadkcc-2ca07430a004a1b574fb184fe65bf31c548bba6f.tar.gz
kcc-2ca07430a004a1b574fb184fe65bf31c548bba6f.tar.bz2
kcc-2ca07430a004a1b574fb184fe65bf31c548bba6f.zip
Merge pull request #191 from ciromattia/dev
5.1
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/setup.py b/setup.py
index 35c6dce..a1f1b73 100755
--- a/setup.py
+++ b/setup.py
@@ -53,7 +53,7 @@ class BuildBinaryCommand(distutils.cmd.Command):
         elif sys.platform == 'win32':
             os.system('pyinstaller -y -F -i icons\comic2ebook.ico -n KCC -w --noupx kcc.py')
             if os.path.isfile('setup.bat'):
-                os.system('setup.bat ' + VERSION)
+                os.system('setup.bat')
             exit(0)
         else:
             if self.pyz:
@@ -90,8 +90,7 @@ class BuildBinaryCommand(distutils.cmd.Command):
                 os.system("bash -c '%s'" % script)
                 exit(0)
             else:
-                os.system('docker build --no-cache -t kcc . && docker run --rm -v ' + os.getcwd() +
-                          ':/out kcc && docker rmi kcc')
+                os.system('docker run --rm -v ' + os.getcwd() + ':/app -e KCCVER=' + VERSION + ' acidweb/kcc')
                 exit(0)
 
 
@@ -108,14 +107,16 @@ class BuildCommand(build):
                      'build/_scripts/kcc-c2p'],
             packages=['kcc'],
             install_requires=[
-                'Pillow>=3.0.0',
-                'psutil>=3.2.2',
-                'python-slugify>=1.1.4',
+                'PyQt5>=5.6.0'
+                'Pillow>=3.2.0',
+                'psutil>=4.1.0',
+                'python-slugify>=1.2.0',
+                'raven>=5.13.0',
             ],
             zip_safe=False,
         )
         if sys.version_info[1] < 5:
-            OPTIONS['install_requires'].append('scandir>=1.1.0')
+            OPTIONS['install_requires'].append('scandir>=1.2.0')
         build.run(self)