about summary refs log tree commit diff
path: root/setup.py
diff options
context:
space:
mode:
authorCiro Mattia Gonano <ciromattia@gmail.com>2013-01-25 13:01:58 +0100
committerCiro Mattia Gonano <ciromattia@gmail.com>2013-01-25 13:01:58 +0100
commit292f77d0bd1cb5803e7f82fb646f434b001c3c14 (patch)
tree9b4d892fb8aadc8c2d09c87929c636bd2c924dee /setup.py
parentInitial draft for a working GUI. (diff)
downloadkcc-292f77d0bd1cb5803e7f82fb646f434b001c3c14.tar.gz
kcc-292f77d0bd1cb5803e7f82fb646f434b001c3c14.tar.bz2
kcc-292f77d0bd1cb5803e7f82fb646f434b001c3c14.zip
working py2app setup
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py31
1 files changed, 24 insertions, 7 deletions
diff --git a/setup.py b/setup.py
index f03adf2..b8bc812 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,7 @@ import sys
 from setuptools import setup
 
 NAME="KindleComicConverter"
-VERSION="1.2.0"
+VERSION="2.0"
 IDENTIFIER="com.github.ciromattia.kcc"
 EXENAME="KindleComicConverter"
 
@@ -25,18 +25,20 @@ APP = ['kcc.py']
 DATA_FILES = []
 OPTIONS = { 'argv_emulation': True,
             'iconfile': 'resources/comic2ebook.icns',
-            'includes': 'kcc/*.py'}
+            'includes': 'kcc/*.py',
+            'packages': 'PIL'}
 
 if sys.platform == 'darwin':
     extra_options = dict(
         setup_requires=['py2app'],
         options=dict(
             py2app=dict(OPTIONS,
-                resources=['LICENSE.txt','resources/Scripts','resources/description.rtfd'],
+                #resources=['LICENSE.txt','resources/Scripts','resources/description.rtfd'],
+                resources=['LICENSE.txt','resources/description.rtfd'],
                 plist=dict(
                     CFBundleName               = NAME,
                     CFBundleShortVersionString = VERSION,
-                    CFBundleGetInfoString      = NAME + " " + VERSION + ", written 2012 by Ciro Mattia Gonano",
+                    CFBundleGetInfoString      = NAME + " " + VERSION + ", written 2012-2013 by Ciro Mattia Gonano",
                     CFBundleExecutable         = EXENAME,
                     CFBundleIdentifier         = IDENTIFIER,
                     CFBundleSignature       = 'dplt'
@@ -59,11 +61,26 @@ setup(
     name=NAME,
     app=APP,
     data_files=DATA_FILES,
+    version=VERSION,
+    author="Ciro Mattia Gonano",
+    author_email="ciromattia@gmail.com",
+    description=("A tool to convert comics (CBR/CBZ/PDFs/image folders) to Mobipocket."),
+    license = "ISC License (ISCL)",
+    keywords = "kindle comic mobipocket mobi cbz cbr manga",
+    url = "http://github.com/ciromattia/kcc",
     classifiers=[
-        # make sure to use :: Python *and* :: Python :: 3 so
-        # that pypi can list the package on the python 3 page
+        'Development Status :: 4 - Beta'
+        'License :: OSI Approved :: ISC License (ISCL)',
+        'Environment :: Console',
+        'Environment :: MacOS X',
+        'Environment :: Win32 (MS Windows)',
+        'Environment :: X11 Applications',
+        'Intended Audience :: End Users/Desktop',
+        'Operating System :: OS Independent',
         'Programming Language :: Python',
-        'Programming Language :: Python :: 3'
+        'Programming Language :: Python :: 3',
+        'Topic :: Multimedia :: Graphics :: Graphics Conversion',
+        'Topic :: Utilities'
     ],
     packages=['kcc'],
     # make sure to add custom_fixers to the MANIFEST.in