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), entry_points=""" [netzob.plugins] DelimiterSeparatedImporter=DelimiterSeparatedImporter.DelimiterSeparatedImporterPlugin:DelimiterSeparatedImporterPlugin """)
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, '*.glade', recursive=True), entry_points=""" [netzob.plugins] OSpyImporter=OSpyImporter.OSpyImporterPlugin:OSpyImporterPlugin """ )