
import os, sys


def root():
    """ Returns the root path of Jasy """
    return os.path.normpath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir))
    
    
def cldrData(what):
    return os.path.join(root(), "data", "cldr", what)
    
def localeProject(locale):
    return os.path.join(root(), "data", "jslocale", locale)
    
def coreProject():
    return os.path.join(root(), "data", "jscore")
    
    

import os, sys


def root():
    """ Returns the root path of Jasy """
    return os.path.relpath(os.path.normpath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir)))
    return os.path.normpath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir))
    
    
def cldrData(what):
    return os.path.join(root(), "data", "cldr", what)
    
def localeProject(locale):
    return os.path.join(root(), "data", "jslocale", locale)
    
def coreProject():
    return os.path.join(root(), "data", "jscore")
    
    
Reduce path to shortest possible from current dir.
Reduce path to shortest possible from current dir.

  
  import os, sys
  
  
  def root():
      """ Returns the root path of Jasy """
+     return os.path.relpath(os.path.normpath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir)))
      return os.path.normpath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir))
      
      
  def cldrData(what):
      return os.path.join(root(), "data", "cldr", what)
      
  def localeProject(locale):
      return os.path.join(root(), "data", "jslocale", locale)
      
  def coreProject():
      return os.path.join(root(), "data", "jscore")
      
      
Reduce path to shortest possible from current dir.
## Code Before:

import os, sys


def root():
    """ Returns the root path of Jasy """
    return os.path.normpath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir))
    
    
def cldrData(what):
    return os.path.join(root(), "data", "cldr", what)
    
def localeProject(locale):
    return os.path.join(root(), "data", "jslocale", locale)
    
def coreProject():
    return os.path.join(root(), "data", "jscore")
    
    
## Instruction:
Reduce path to shortest possible from current dir.
## Code After:

import os, sys


def root():
    """ Returns the root path of Jasy """
    return os.path.relpath(os.path.normpath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir)))
    return os.path.normpath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir))
    
    
def cldrData(what):
    return os.path.join(root(), "data", "cldr", what)
    
def localeProject(locale):
    return os.path.join(root(), "data", "jslocale", locale)
    
def coreProject():
    return os.path.join(root(), "data", "jscore")
    
    