Exemplo n.º 1
0
#|             Supélec, http://www.rennes.supelec.fr/ren/rd/cidre/           |
#+---------------------------------------------------------------------------+

#+----------------------------------------------------------------------------
#| Global Imports
#+----------------------------------------------------------------------------
from setuptools import setup
import sys

package = 'DelimiterSeparatedImporter'
resourcesPath = "../../../../resources/"

sys.path.append(resourcesPath)
from sdist.utils import find_data_files, opj

pluginsStaticResourcesPath = opj(resourcesPath, "static/netzob_plugins/",
                                 package)

dependencies = ['Netzob >= 0.4']
#+----------------------------------------------------------------------------
#| Definition of Netzob for setup
#+----------------------------------------------------------------------------
setup(name="Netzob-DelimiterSeparatedImporter",
      version="1.0.0",
      author="Georges Bossert, Frédéric Guihéry",
      author_email="*****@*****.**",
      packages=[package],
      install_requires=dependencies,
      data_files=find_data_files(opj("share", "netzob", "plugins", package),
                                 pluginsStaticResourcesPath,
                                 '*.glade',
                                 recursive=True),
Exemplo n.º 2
0
#|             Supélec, http://www.rennes.supelec.fr/ren/rd/cidre/           |
#+---------------------------------------------------------------------------+

#+----------------------------------------------------------------------------
#| Global Imports
#+----------------------------------------------------------------------------
from setuptools import setup
import sys

package = 'OSpyImporter'
resourcesPath = "../../../../resources/"

sys.path.append(resourcesPath)
from sdist.utils import find_data_files, opj

pluginsStaticResourcesPath = opj(resourcesPath, "static/netzob_plugins/", package)

dependencies = ['python-dateutil', 'Netzob >= 0.4']

#+----------------------------------------------------------------------------
#| Definition of Netzob for setup
#+----------------------------------------------------------------------------
setup(
    name="Netzob-OSpyImporter",
    version="1.0.0",
    author="Georges Bossert, Frédéric Guihéry",
    author_email="*****@*****.**",
    packages=[package],
    install_requires=dependencies,
    data_files=find_data_files(opj("share", "netzob", "plugins", package),
                               pluginsStaticResourcesPath,