Esempio n. 1
0

#
# Project Description
#
projectdir = path(__file__).dirname().abspath()
try:
    import cobblestones
except ImportError:
    # Special bootstrap in our own project, in absence of an initialized virtualenv
    sys.path.insert(0, projectdir / "src")
    import cobblestones
from cobblestones import tools

changelog = (projectdir / "debian" / "changelog").text("UTF-8")
project = tools.bunchify(cobblestones.pkg_info())
project.update(
    # TODO: find ways to get at these during runtime, within "cobblestones.pkg_info"
    version = re.search(r"(?<=\()[^)]+(?=\))", changelog).group(), # DRY principle
    packages = find_packages(projectdir / "src", exclude=["tests"]),
)


#
# Tasks
#

@task
@needs(["paver.misctasks.generate_setup", "paver.misctasks.minilib", "setuptools.command.develop"])
def init():
    """initial project setup"""
Esempio n. 2
0

#
# Project Description
#
projectdir = path(__file__).dirname().abspath()
try:
    import neutrino_wand
except ImportError:
    # Special bootstrap in our own project, in absence of an initialized virtualenv
    sys.path.insert(0, projectdir / "src")
    import neutrino_wand
from cobblestones import tools

changelog = (projectdir / "debian" / "changelog").text("UTF-8")
project = tools.bunchify(neutrino_wand.pkg_info())
project.update(
    # TODO: find ways to get at these during runtime, within "neutrino_wand.pkg_info"
    version = re.search(r"(?<=\()[^)]+(?=\))", changelog).group(), # DRY principle
    packages = find_packages(projectdir / "src", exclude=["tests"]),
)


#
# Tasks
#

@task
@needs(["paver.misctasks.generate_setup", "setuptools.command.develop"])
def init():
    """initial project setup"""
Esempio n. 3
0

#
# Project Description
#
projectdir = path(__file__).dirname().abspath()
try:
    import infrascope
except ImportError:
    # Special bootstrap in our own project, in absence of an initialized virtualenv
    sys.path.insert(0, projectdir / "src")
    import infrascope
from cobblestones import tools

changelog = (projectdir / "debian" / "changelog").text("UTF-8")
project = tools.bunchify(infrascope.pkg_info())
project.update(
    # TODO: find ways to get at these during runtime, within "infrascope.pkg_info"
    version = re.search(r"(?<=\()[^)]+(?=\))", changelog).group(), # DRY principle
    packages = find_packages(projectdir / "src", exclude=["tests"]),
)


#
# Tasks
#

@task
@needs(["paver.misctasks.generate_setup", "setuptools.command.develop"])
def init():
    """initial project setup"""
Esempio n. 4
0
from setuptools import find_packages

#
# Project Description
#
projectdir = path(__file__).dirname().abspath()
try:
    import cobblestones
except ImportError:
    # Special bootstrap in our own project, in absence of an initialized virtualenv
    sys.path.insert(0, projectdir / "src")
    import cobblestones
from cobblestones import tools

changelog = (projectdir / "debian" / "changelog").text("UTF-8")
project = tools.bunchify(cobblestones.pkg_info())
project.update(
    # TODO: find ways to get at these during runtime, within "cobblestones.pkg_info"
    version=re.search(r"(?<=\()[^)]+(?=\))",
                      changelog).group(),  # DRY principle
    packages=find_packages(projectdir / "src", exclude=["tests"]),
)

#
# Tasks
#


@task
@needs([
    "paver.misctasks.generate_setup", "paver.misctasks.minilib",
Esempio n. 5
0

#
# Project Description
#
projectdir = path(__file__).dirname().abspath()
try:
    import daqueduct
except ImportError:
    # Special bootstrap in our own project, in absence of an initialized virtualenv
    sys.path.insert(0, projectdir / "src")
    import daqueduct
from cobblestones import tools

changelog = (projectdir / "debian" / "changelog").text("UTF-8")
project = tools.bunchify(daqueduct.pkg_info())
project.update(
    # TODO: find ways to get at these during runtime, within "daqueduct.pkg_info"
    version=re.search(r"(?<=\()[^)]+(?=\))", changelog).group(),  # DRY principle
    packages=find_packages(projectdir / "src", exclude=["tests"]),
)


#
# Tasks
#


@task
@needs(["paver.misctasks.generate_setup", "setuptools.command.develop"])
def init():
Esempio n. 6
0
from setuptools import find_packages


#
# Project Description
#
projectdir = path(__file__).dirname().abspath()
try:
    import kunstkopf
except ImportError:
    # Special bootstrap in our own project, in absence of an initialized virtualenv
    sys.path.insert(0, projectdir / "src")
    import kunstkopf

changelog = (projectdir / "debian" / "changelog").text("UTF-8")
project = tools.bunchify(kunstkopf.pkg_info())
project.update(
    # TODO: find ways to get at these during runtime, within "kunstkopf.pkg_info"
    version = re.search(r"(?<=\()[^)]+(?=\))", changelog).group(), # DRY principle
    packages = find_packages(projectdir / "src", exclude=["tests"]),
)


#
# Tasks
#

@task
@needs(["setuptools.command.develop"])
def init():
    """initial project setup"""