"""setup.py."""

import os

from setuptools import setup


filename = os.path.join(os.path.dirname(__file__), 'requirements.txt')
requirements = open(filename).read().splitlines()

setup(
    name='dasem',
    version='0.1.dev0',
    author='Finn Aarup Nielsen',
    author_email='faan@dtu.dk',
    description='Danish semantic analysis',
    license='Apache',
    keywords='text',
    url='https://github.com/fnielsen/dasem',
    packages=['dasem'],
    package_data={
        'dasem': [
            'data/four_words.csv',
            'data/compounds.txt',
            'data/README.rst',
        ]
    },
    install_requires=requirements,
    long_description='',
    classifiers=[
        'Programming Language :: Python :: 2.7',
    ],
    tests_require=['pytest', 'flake8'],
)

@@ -51,16 +51,35 @@
  setup%0A%0A
+import versioneer%0A%0A
 %0Afilenam
@@ -222,32 +222,8 @@
 m',%0A
-    version='0.1.dev0',%0A
     
@@ -283,16 +283,56 @@
 tu.dk',%0A
+    cmdclass=versioneer.get_cmdclass(),%0A
     desc

Change to use versioneer