Setup and test spec implementation
Setup now installs code as normal conventions:
cd oftest/src/python
python setup.py install
See basic.py for recommended import conventions
Command line parsing significantly updated; allow --test-spec
to indicate a module or specific tests to include.
diff --git a/src/python/setup.py b/src/python/setup.py
new file mode 100644
index 0000000..4a84d86
--- /dev/null
+++ b/src/python/setup.py
@@ -0,0 +1,32 @@
+#!/usr/bin/env python
+'''Setuptools params'''
+
+from setuptools import setup, find_packages
+
+modname = distname = 'oftest'
+
+setup(
+ name='oftest',
+ version='0.0.1',
+ description='An OpenFlow Testing Framework',
+ author='Dan Talayco/Tatsuya Yabe',
+ author_email='dtalayco@stanford.edu',
+ packages=find_packages(),
+ long_description="""\
+OpenFlow test framework package.
+ """,
+ classifiers=[
+ "License :: OSI Approved :: GNU General Public License (GPL)",
+ "Programming Language :: Python",
+ "Development Status :: 4 - Beta",
+ "Intended Audience :: Developers",
+ "Topic :: Internet",
+ ],
+ keywords='networking protocol Internet OpenFlow validation',
+ license='unspecified',
+ install_requires=[
+ 'setuptools',
+ 'doxypy',
+ 'pylint',
+ 'scapy' # ?
+ ])