#!/usr/bin/env python

from distutils.core import setup
import platform

def build_params():
    params = {
      'name':'copycat',
      'version':'0.0.1',
      'description':'easy way let use clip on command line with system clip',
      'author':'George Li',
      'author_email':'goblin.george@gmail.com',
      'url':'https://github.com/georgefs/copycat.git',
      'py_modules':['CopyCat'],
	  'license':'MIT',
      'scripts': ['copycat'],
      'install_requires': ['clime', ],
    }
    if platform.system() == 'Windows':
        params['scripts'] += ['copycat.bat']
    
    return params

setup(
    **build_params()
)


@@ -150,9 +150,9 @@
 0.0.
-1
+2
 ',%0A 
@@ -384,13 +384,13 @@
 ':%5B'
-CopyC
+copyc
 at'%5D
@@ -415,38 +415,8 @@
 T',%0A
-      'scripts': %5B'copycat'%5D,%0A
     
@@ -525,9 +525,8 @@
 s'%5D 
-+
 = %5B'
@@ -539,16 +539,66 @@
 t.bat'%5D%0A
+    else:%0A        parans%5B'scripts'%5D = %5B'copycat'%5D%0A
     %0A   

update install params