setup.py may fail
Closed this issue · 0 comments
fdev31 commented
The import statement may import the "old" snaked installation.
I had to patch it to make it work on my system:
diff --git a/setup.py b/setup.py
index 06df109..f756cbb 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,8 @@
+import os
from setuptools import setup, find_packages
from setuptools.command import easy_install
-from snaked import VERSION
+execfile( os.path.join(os.getcwd(), 'snaked', '__init__.py') )
def install_script(self, dist, script_name, script_text, dev_path=None):
script_text = easy_install.get_script_header(script_text) + (