baverman/snaked — Issue #52: setup.py may fail
Author: fdev31
Created: 2012-01-19 19:55:08+00:00
State: open

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) + (
```