Exemplo n.º 1
0
}

dependency_links = []

# +----------------------------------------------------------------------------
# | Extensions in the build operations (create manpage, i18n, ...)
# +----------------------------------------------------------------------------
CMD_CLASS = {
    'build_py': pybuild_command,
    'build_manpage': manpage_command,
    'test': test_command
}

# +----------------------------------------------------------------------------

root_data_files = find_data_files(opj("share", "netzob"), netzobStaticResourcesPath, 'logo.png', recursive=False)
app_data_files = find_data_files(opj("share", "applications"), netzobStaticResourcesPath, 'netzob.desktop', recursive=False)
icons_data_files = find_data_files(opj("share", "netzob", "icons"), opj(netzobStaticResourcesPath, "icons"), '*.png')
default_data_files = find_data_files(opj("share", "netzob", "defaults"), opj(netzobStaticResourcesPath, "defaults"), '*.default', recursive=False)
xsds_data_files = find_data_files(opj("share", "netzob", "xsds"), opj(netzobStaticResourcesPath, "xsds"), '*.xsd')
locale_data_files = find_data_files(opj("share", "locale"), opj(netzobStaticResourcesPath, "locales"), '*.mo')
ui_data_files = find_data_files(opj("share", "netzob", "ui"), opj(netzobStaticResourcesPath, "ui"), '*.glade', '*.ui')

data_files = root_data_files + app_data_files + icons_data_files + default_data_files + xsds_data_files + locale_data_files + ui_data_files

# Extract the long description from README.rst and NEWS.rst files
README = open('README.rst', 'rt').read()
NEWS = open('NEWS.rst', 'rt').read()

# +----------------------------------------------------------------------------
# | Definition of Netzob for setup
Exemplo n.º 2
0
dependency_links = []

# +----------------------------------------------------------------------------
# | Extensions in the build operations (create manpage, i18n, ...)
# +----------------------------------------------------------------------------
CMD_CLASS = {
    'build_py': pybuild_command,
    'build_manpage': manpage_command,
    'test': test_command
}

# +----------------------------------------------------------------------------

root_data_files = find_data_files(opj("share", "netzob"),
                                  netzobStaticResourcesPath,
                                  'logo.png',
                                  recursive=False)
app_data_files = find_data_files(opj("share", "applications"),
                                 netzobStaticResourcesPath,
                                 'netzob.desktop',
                                 recursive=False)
icons_data_files = find_data_files(opj("share", "netzob", "icons"),
                                   opj(netzobStaticResourcesPath, "icons"),
                                   '*.png')
default_data_files = find_data_files(opj("share", "netzob", "defaults"),
                                     opj(netzobStaticResourcesPath,
                                         "defaults"),
                                     '*.default',
                                     recursive=False)
xsds_data_files = find_data_files(opj("share", "netzob", "xsds"),
                                  opj(netzobStaticResourcesPath, "xsds"),
Exemplo n.º 3
0
    'correlation': ['numpy>=1.9.2', 'minepy>=1.0.0']
}

dependency_links = []

# +----------------------------------------------------------------------------
# | Extensions in the build operations (create manpage, i18n, ...)
# +----------------------------------------------------------------------------
CMD_CLASS = {
    'build_py': pybuild_command,
    'test': test_command
}

# +----------------------------------------------------------------------------

root_data_files = find_data_files(opj("share", "netzob"), netzobStaticResourcesPath, 'logo.png', recursive=False)
app_data_files = find_data_files(opj("share", "applications"), netzobStaticResourcesPath, 'netzob.desktop', recursive=False)
icons_data_files = find_data_files(opj("share", "netzob", "icons"), opj(netzobStaticResourcesPath, "icons"), '*.png')
default_data_files = find_data_files(opj("share", "netzob", "defaults"), opj(netzobStaticResourcesPath, "defaults"), '*.default', recursive=False)

data_files = root_data_files + app_data_files + icons_data_files + default_data_files

# Extract the long description from README.rst and NEWS.rst files
README = open('README.rst', 'rt').read()
NEWS = open('NEWS.rst', 'rt').read()

# +----------------------------------------------------------------------------
# | Definition of Netzob for setup
# +----------------------------------------------------------------------------
setup(
    name=release.name,