from axiom._version import __version__
from epsilon import asTwistedVersion

version = asTwistedVersion("axiom", __version__)

from axiom._version import __version__
from twisted.python import versions

def asTwistedVersion(packageName, versionString):
    return versions.Version(packageName, *map(int, versionString.split(".")))

version = asTwistedVersion("axiom", __version__)

Add a local asTwistedVersion implementation to Axiom, so as to not add another setup-time dependency on Epsilon
Add a local asTwistedVersion implementation to Axiom, so as to not add another setup-time dependency on Epsilon
  from axiom._version import __version__
- from epsilon import asTwistedVersion
+ from twisted.python import versions
+ 
+ def asTwistedVersion(packageName, versionString):
+     return versions.Version(packageName, *map(int, versionString.split(".")))
  
  version = asTwistedVersion("axiom", __version__)
  
Add a local asTwistedVersion implementation to Axiom, so as to not add another setup-time dependency on Epsilon
## Code Before:
from axiom._version import __version__
from epsilon import asTwistedVersion

version = asTwistedVersion("axiom", __version__)

## Instruction:
Add a local asTwistedVersion implementation to Axiom, so as to not add another setup-time dependency on Epsilon
## Code After:
from axiom._version import __version__
from twisted.python import versions

def asTwistedVersion(packageName, versionString):
    return versions.Version(packageName, *map(int, versionString.split(".")))

version = asTwistedVersion("axiom", __version__)
