]> git.nothing2do.fr Git - get-hack-src.git/commitdiff
Bumped up revision number
authorallfro <ndouba@gmail.com>
Fri, 26 Oct 2012 02:15:25 +0000 (22:15 -0400)
committerallfro <ndouba@gmail.com>
Fri, 26 Oct 2012 02:15:25 +0000 (22:15 -0400)
setup.py

index 88b06461b3ef71caad5ea386f2beca027ac5d95f..d1638ee9107958402f9bb3bcf5b47b289f4ddb18 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -1,10 +1,7 @@
 #!/usr/bin/env python
 
-from os import name #, path, system, symlink, pathsep
-#from distutils.sysconfig import get_config_var
 from setuptools import setup, find_packages
-#from subprocess import PIPE, Popen
-#from sys import argv
+from os import name
 
 
 scripts = [
@@ -21,11 +18,10 @@ if name == 'nt':
     scripts += ['%s.bat' % s for s in scripts]
 
 
-#if 'fixpath' not in argv:
 setup(
     name='canari',
     author='Nadeem Douba',
-    version='0.1',
+    version='0.2',
     author_email='ndouba@gmail.com',
     description='Rapid transform development and transform execution framework for Maltego.',
     license='GPL',
@@ -41,62 +37,4 @@ setup(
         'argparse'
     ],
     dependency_links=[]
-)
-
-
-# Fixing Canari script path to work with JVM
-#elif 'fixpath' in argv:
-#    print '\nChecking PATH of JVM and Canari...'
-#
-#    if not path.exists('java/JVMPathChecker.class') and system('javac java/JVMPathChecker.java'):
-#        print 'Error compiling the path checker using javac.'
-#        exit(-1)
-#
-#    proc = Popen(['java', '-cp', 'java', 'JVMPathChecker'], stdout=PIPE)
-#    jvm_path = proc.communicate()[0][:-1].split(pathsep)
-#
-#    bindir = get_config_var('BINDIR')
-#
-#    if bindir not in jvm_path:
-#        print "Warning %s not in your JVM's PATH" % bindir
-#
-#        while True:
-#            i = 0
-#            for i, path_dir in enumerate(jvm_path):
-#                print '[%d]: %s' % (i, path_dir)
-#
-#            try:
-#                selection = int(
-#                    raw_input("Please select the path where you'd like to place symlinks to Canari's scripts [0]: ")
-#                )
-#                if selection <= i:
-#                    for script in scripts:
-#                        srcf = path.join(bindir, script)
-#                        dstf = path.join(jvm_path[selection], script)
-#                        if not path.exists(srcf):
-#                            print 'Could not find %s in %s' % (repr(script), repr(bindir))
-#                            exit(-1)
-#                        elif path.exists(dstf):
-#                            print 'skipping %s since it already exists in %s...' % (
-#                                repr(script),
-#                                repr(jvm_path[selection])
-#                                )
-#                            continue
-#                        print 'symlinking %s to %s...' % (srcf, dstf)
-#                        symlink(srcf, dstf)
-#                    exit(0)
-#                raise ValueError
-#            except ValueError:
-#                print 'Invalid selection... try again.'
-#    else:
-#        print 'All looks good... no further action required here.'
-#
-#
-#
-#print '\nChecking if other dependencies installed...'
-#
-#for e in extras:
-#    try:
-#        __import__(e)
-#    except ImportError:
-#        print 'WARNING: Package %s not installed. Please download and manually install this package' % repr(e)
+)
\ No newline at end of file