import os
from setuptools import (
    setup,
    find_packages,
)


version = open(os.path.join(os.path.dirname(__file__), 'src',
                            'agx', 'core', 'version.txt')).read()
shortdesc = 'AGX tree transformation chain processor'
longdesc = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
longdesc += open(os.path.join(os.path.dirname(__file__), 'LICENSE.rst')).read()


setup(name='agx.core',
      version=version,
      description=shortdesc,
      long_description=longdesc,
      classifiers=[
          'Development Status :: 3 - Alpha',
          'License :: OSI Approved :: GNU General Public License (GPL)',
          'Programming Language :: Python',
      ],
      keywords='AGX, Code Generation',
      author='BlueDynamics Alliance',
      author_email='dev@bluedynamics.com',
      url=u'http://github.com/bluedynamics/agx.core',
      license='GNU General Public Licence',
      packages=find_packages('src'),
      package_dir={'': 'src'},
      namespace_packages=['agx'],
      include_package_data=True,
      zip_safe=False,
      install_requires=[
          'setuptools',
          'node',
          'zope.configuration',
      ],
      extras_require = dict(
          test=[
            'interlude',
          ]
      ))

import os
from setuptools import (
    setup,
    find_packages,
)


version = open(os.path.join(os.path.dirname(__file__), 'src',
                            'agx', 'core', 'version.txt')).read()
shortdesc = 'AGX tree transformation chain processor'
longdesc = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
longdesc += open(os.path.join(os.path.dirname(__file__), 'LICENSE.rst')).read()


setup(name='agx.core',
      version=version,
      description=shortdesc,
      long_description=longdesc,
      classifiers=[
          'Development Status :: 3 - Alpha',
          'License :: OSI Approved :: GNU General Public License (GPL)',
          'Programming Language :: Python',
      ],
      keywords='AGX, Code Generation',
      author='BlueDynamics Alliance',
      author_email='dev@bluedynamics.com',
      url=u'http://github.com/bluedynamics/agx.core',
      license='GNU General Public Licence',
      packages=find_packages('src'),
      package_dir={'': 'src'},
      namespace_packages=['agx'],
      include_package_data=True,
      zip_safe=False,
      install_requires=[
          'setuptools',
          'node',
          'zope.configuration',
          'zope.component'
      ],
      extras_require = dict(
          test=[
            'interlude',
          ]
      ))

fix dependencies