From 0fa143dd642512ede9ae95d7e3093c8b814ffc85 Mon Sep 17 00:00:00 2001 From: allfro Date: Thu, 25 Oct 2012 22:15:25 -0400 Subject: [PATCH] Bumped up revision number --- setup.py | 68 +++----------------------------------------------------- 1 file changed, 3 insertions(+), 65 deletions(-) diff --git a/setup.py b/setup.py index 88b0646..d1638ee 100755 --- 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 -- 2.45.1