]> git.nothing2do.fr Git - get-hack-src.git/commitdiff
Modified setup.py to read version from src/canari package
authorallfro <ndouba@gmail.com>
Tue, 19 Mar 2013 23:43:15 +0000 (19:43 -0400)
committerallfro <ndouba@gmail.com>
Tue, 19 Mar 2013 23:43:15 +0000 (19:43 -0400)
setup.py
src/canari/__init__.py

index 300fb2cca749ac7e7176197275544d2711be1889..08a8b4618eea868342f7d9a8b23fc289768a2bd3 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -1,8 +1,12 @@
 #!/usr/bin/env python
 
 import os
+import sys
 from setuptools import setup, find_packages
 
+sys.path.insert(0, 'src')
+
+import canari
 
 scripts = [
     'src/scripts/canari',
@@ -28,7 +32,7 @@ if os.name == 'nt':
 setup(
     name='canari',
     author='Nadeem Douba',
-    version='0.7',
+    version=canari.__version__,
     author_email='ndouba@gmail.com',
     description='Rapid transform development and transform execution framework for Maltego.',
     license='GPL',
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..9311fe267fdc90e3110295a828ed476e5aecf59a 100644 (file)
@@ -0,0 +1,21 @@
+__author__ = 'Nadeem Douba'
+__copyright__ = 'Copyright 2012, Canari Project'
+__credits__ = []
+
+__license__ = 'GPL'
+__version__ = '0.8'
+__maintainer__ = 'Nadeem Douba'
+__email__ = 'ndouba@gmail.com'
+__status__ = 'Development'
+
+__all__ = [
+    'commands',
+    'maltego',
+    'resources',
+    'utils',
+    'xmltools',
+    'config',
+    'easygui',
+    'framework',
+    'resource'
+]
\ No newline at end of file