
from distutils.core import setup


description = """
The Jersey core libraries provide common abstractions used by Jersey software.
"""


def getVersion():
    import os
    packageSeedFile = os.path.join("src", "lib", "_version.py")
    ns = {"__name__": __name__, }
    execfile(packageSeedFile, ns)
    return ns["version"]

version = getVersion()


setup(
    name = "jersey",
    version = version.short(),

    description = "Jersey Core Libraries",
    long_description = description,

    author = "Oliver Gould", author_email = "ver@yahoo-inc.com",
    maintainer = "Jersey-Devel", maintainer_email = "jersey-devel@yahoo-inc.com",

    package_dir = {
        "jersey": "src/lib",
        },
    packages = [
        "jersey",
        "jersey.cases",
        ],
    py_modules = [
        "jersey._version",
        "jersey.cli",  "jersey.cases.test_cli",
        "jersey.inet", "jersey.cases.test_inet",
        "jersey.log",  "jersey.cases.test_log",
        ],

    provides = [
        "jersey",
        "jersey.cli",
        "jersey.log",
        ],
    requires = [
        "twisted (>=9.0.0)",
        ],

    )




from distutils.core import setup


description = """
The Jersey core libraries provide common abstractions used by Jersey software.
"""


def getVersion():
    import os
    packageSeedFile = os.path.join("lib", "_version.py")
    ns = {"__name__": __name__, }
    execfile(packageSeedFile, ns)
    return ns["version"]

version = getVersion()


setup(
    name = "jersey",
    version = version.short(),

    description = "Jersey Core Libraries",
    long_description = description,

    author = "Oliver Gould", author_email = "ver@yahoo-inc.com",
    maintainer = "Jersey-Devel", maintainer_email = "jersey-devel@yahoo-inc.com",

    package_dir = {
        "jersey": "lib",
        },
    packages = [
        "jersey",
        "jersey.cases",
        ],
    py_modules = [
        "jersey._version",
        "jersey.cli",  "jersey.cases.test_cli",
        "jersey.inet", "jersey.cases.test_inet",
        "jersey.log",  "jersey.cases.test_log",
        ],

    provides = [
        "jersey",
        "jersey.cli",
        "jersey.log",
        ],
    requires = [
        "twisted (>=9.0.0)",
        ],

    )



Use lib/ instead of src/lib.
Use lib/ instead of src/lib.

  
  from distutils.core import setup
  
  
  description = """
  The Jersey core libraries provide common abstractions used by Jersey software.
  """
  
  
  def getVersion():
      import os
-     packageSeedFile = os.path.join("src", "lib", "_version.py")
+     packageSeedFile = os.path.join("lib", "_version.py")
      ns = {"__name__": __name__, }
      execfile(packageSeedFile, ns)
      return ns["version"]
  
  version = getVersion()
  
  
  setup(
      name = "jersey",
      version = version.short(),
  
      description = "Jersey Core Libraries",
      long_description = description,
  
      author = "Oliver Gould", author_email = "ver@yahoo-inc.com",
      maintainer = "Jersey-Devel", maintainer_email = "jersey-devel@yahoo-inc.com",
  
      package_dir = {
-         "jersey": "src/lib",
+         "jersey": "lib",
          },
      packages = [
          "jersey",
          "jersey.cases",
          ],
      py_modules = [
          "jersey._version",
          "jersey.cli",  "jersey.cases.test_cli",
          "jersey.inet", "jersey.cases.test_inet",
          "jersey.log",  "jersey.cases.test_log",
          ],
  
      provides = [
          "jersey",
          "jersey.cli",
          "jersey.log",
          ],
      requires = [
          "twisted (>=9.0.0)",
          ],
  
      )
  
  
  
Use lib/ instead of src/lib.
## Code Before:

from distutils.core import setup


description = """
The Jersey core libraries provide common abstractions used by Jersey software.
"""


def getVersion():
    import os
    packageSeedFile = os.path.join("src", "lib", "_version.py")
    ns = {"__name__": __name__, }
    execfile(packageSeedFile, ns)
    return ns["version"]

version = getVersion()


setup(
    name = "jersey",
    version = version.short(),

    description = "Jersey Core Libraries",
    long_description = description,

    author = "Oliver Gould", author_email = "ver@yahoo-inc.com",
    maintainer = "Jersey-Devel", maintainer_email = "jersey-devel@yahoo-inc.com",

    package_dir = {
        "jersey": "src/lib",
        },
    packages = [
        "jersey",
        "jersey.cases",
        ],
    py_modules = [
        "jersey._version",
        "jersey.cli",  "jersey.cases.test_cli",
        "jersey.inet", "jersey.cases.test_inet",
        "jersey.log",  "jersey.cases.test_log",
        ],

    provides = [
        "jersey",
        "jersey.cli",
        "jersey.log",
        ],
    requires = [
        "twisted (>=9.0.0)",
        ],

    )



## Instruction:
Use lib/ instead of src/lib.
## Code After:

from distutils.core import setup


description = """
The Jersey core libraries provide common abstractions used by Jersey software.
"""


def getVersion():
    import os
    packageSeedFile = os.path.join("lib", "_version.py")
    ns = {"__name__": __name__, }
    execfile(packageSeedFile, ns)
    return ns["version"]

version = getVersion()


setup(
    name = "jersey",
    version = version.short(),

    description = "Jersey Core Libraries",
    long_description = description,

    author = "Oliver Gould", author_email = "ver@yahoo-inc.com",
    maintainer = "Jersey-Devel", maintainer_email = "jersey-devel@yahoo-inc.com",

    package_dir = {
        "jersey": "lib",
        },
    packages = [
        "jersey",
        "jersey.cases",
        ],
    py_modules = [
        "jersey._version",
        "jersey.cli",  "jersey.cases.test_cli",
        "jersey.inet", "jersey.cases.test_inet",
        "jersey.log",  "jersey.cases.test_log",
        ],

    provides = [
        "jersey",
        "jersey.cli",
        "jersey.log",
        ],
    requires = [
        "twisted (>=9.0.0)",
        ],

    )


