from distutils.core import setup

distobj = setup(
    name="Axiom",
    version="0.1",
    maintainer="Divmod, Inc.",
    maintainer_email="support@divmod.org",
    url="http://divmod.org/trac/wiki/AxiomProject",
    license="MIT",
    platforms=["any"],
    description="An in-process object-relational database",
    classifiers=[
        "Intended Audience :: Developers",
        "Programming Language :: Python",
        "Development Status :: 2 - Pre-Alpha",
        "Topic :: Database"],

    scripts=['bin/axiomatic'],

    packages=['axiom',
              'axiom.scripts',
              'axiom.plugins',
              'axiom.test'],

    package_data={'axiom': ['examples/*']})

from epsilon.setuphelper import regeneratePluginCache
regeneratePluginCache(distobj)


from distutils.core import setup

import axiom

distobj = setup(
    name="Axiom",
    version=axiom.version.short(),
    maintainer="Divmod, Inc.",
    maintainer_email="support@divmod.org",
    url="http://divmod.org/trac/wiki/DivmodAxiom",
    license="MIT",
    platforms=["any"],
    description="An in-process object-relational database",
    classifiers=[
        "Intended Audience :: Developers",
        "Programming Language :: Python",
        "Development Status :: 2 - Pre-Alpha",
        "Topic :: Database"],

    scripts=['bin/axiomatic'],

    packages=['axiom',
              'axiom.scripts',
              'axiom.plugins',
              'axiom.test'],

    package_data={'axiom': ['examples/*']})

from epsilon.setuphelper import regeneratePluginCache
regeneratePluginCache(distobj)


Use new Epsilon versioned feature.
Use new Epsilon versioned feature.

  from distutils.core import setup
+ 
+ import axiom
  
  distobj = setup(
      name="Axiom",
-     version="0.1",
+     version=axiom.version.short(),
      maintainer="Divmod, Inc.",
      maintainer_email="support@divmod.org",
-     url="http://divmod.org/trac/wiki/AxiomProject",
+     url="http://divmod.org/trac/wiki/DivmodAxiom",
      license="MIT",
      platforms=["any"],
      description="An in-process object-relational database",
      classifiers=[
          "Intended Audience :: Developers",
          "Programming Language :: Python",
          "Development Status :: 2 - Pre-Alpha",
          "Topic :: Database"],
  
      scripts=['bin/axiomatic'],
  
      packages=['axiom',
                'axiom.scripts',
                'axiom.plugins',
                'axiom.test'],
  
      package_data={'axiom': ['examples/*']})
  
  from epsilon.setuphelper import regeneratePluginCache
  regeneratePluginCache(distobj)
  
  
Use new Epsilon versioned feature.
## Code Before:
from distutils.core import setup

distobj = setup(
    name="Axiom",
    version="0.1",
    maintainer="Divmod, Inc.",
    maintainer_email="support@divmod.org",
    url="http://divmod.org/trac/wiki/AxiomProject",
    license="MIT",
    platforms=["any"],
    description="An in-process object-relational database",
    classifiers=[
        "Intended Audience :: Developers",
        "Programming Language :: Python",
        "Development Status :: 2 - Pre-Alpha",
        "Topic :: Database"],

    scripts=['bin/axiomatic'],

    packages=['axiom',
              'axiom.scripts',
              'axiom.plugins',
              'axiom.test'],

    package_data={'axiom': ['examples/*']})

from epsilon.setuphelper import regeneratePluginCache
regeneratePluginCache(distobj)


## Instruction:
Use new Epsilon versioned feature.
## Code After:
from distutils.core import setup

import axiom

distobj = setup(
    name="Axiom",
    version=axiom.version.short(),
    maintainer="Divmod, Inc.",
    maintainer_email="support@divmod.org",
    url="http://divmod.org/trac/wiki/DivmodAxiom",
    license="MIT",
    platforms=["any"],
    description="An in-process object-relational database",
    classifiers=[
        "Intended Audience :: Developers",
        "Programming Language :: Python",
        "Development Status :: 2 - Pre-Alpha",
        "Topic :: Database"],

    scripts=['bin/axiomatic'],

    packages=['axiom',
              'axiom.scripts',
              'axiom.plugins',
              'axiom.test'],

    package_data={'axiom': ['examples/*']})

from epsilon.setuphelper import regeneratePluginCache
regeneratePluginCache(distobj)

