#!/usr/bin/env python
# vim: sw=4 ts=4 et
from setuptools import setup

import ezvirtualenv

setup(
    name='ezvirtualenv',
    version=ezvirtualenv.__version__,
    description='Easy Virtual Environment',
    author='Matthias Miller',
    author_email='matthiasmiller@users.sf.net',
    url='https://github.com/matthiasmiller/ezvirtualenv',
    install_requires=[
        'virtualenv>=13.0.03',
    ],
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2.7',
    ],
    packages=['ezvirtualenv'],
)



@@ -35,16 +35,41 @@
 ts=4 et%0A
+import os.path%0Aimport re%0A
 from set
@@ -94,27 +94,296 @@
 up%0A%0A
-import ezvirtualenv
+def getversion():%0A    dir_ = os.path.dirname(os.path.abspath(__file__))%0A    with open(os.path.join(dir_, 'ezvirtualenv', '__init__.py')) as f:%0A        match = re.search(r%22__version__ = '(%5B%5Cd%5C.%5D+)'%22, f.read())%0A        assert match, 'Could not locate version!'%0A        return match.group(1)
 %0A%0Ase
@@ -428,32 +428,20 @@
 ion=
-ezvirtualenv.__
+get
 version
-__
+()
 ,%0A  

stop importing to determine version