Blob Blame History Raw
diff --git a/config.h b/config.h
new file mode 100644
--- /dev/null
+++ b/config.h
@@ -0,0 +1,1 @@
+#define VERSION "0.4.5"
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -76,22 +76,22 @@ def igraph_version():
     except:
 	raise Exception, "igraph source code not found"
     
-try:
-    detect_igraph_source()
-except:
-    print "An error happened while trying to find igraph source!"
-    print "Consider downloading the C source code of the igraph library and "
-    print "put the contents of the src subdirectory and config.h in "
-    print "subdirectory called igraph."
-    exit(1)
+## try:
+##     detect_igraph_source()
+## except:
+##     print "An error happened while trying to find igraph source!"
+##     print "Consider downloading the C source code of the igraph library and "
+##     print "put the contents of the src subdirectory and config.h in "
+##     print "subdirectory called igraph."
+##     exit(1)
 
 module_sources=glob.glob(os.path.join('src', '*.c'))
 sources=glob.glob(os.path.join('igraph', '*.c'))
 sources.extend(module_sources)
 
-include_dirs=['igraph', '.']
+include_dirs=['/usr/include/igraph', '.']
 library_dirs=[]
-libraries=[]
+libraries=['igraph']
 
 line, exit_code = get_output("xml2-config --version")
 if exit_code>0:
@@ -117,7 +117,7 @@ pure Python-based graph packages around.
 pure Python-based graph packages around."""
 
 setup(name = 'igraph',
-      version = igraph_version(),
+      version = '0.4.5',
       description = 'High performance graph data structures and algorithms',
       long_description = description,
       license = 'GNU General Public License (GPL)',