Commit 1c0ebbd7 authored by David Hancock's avatar David Hancock

Add packaging script setup.py

Standard setuptools script.  Currently using it only to
install python modules (see README last line).
parent 892d783b
......@@ -2,3 +2,7 @@
*.hp4*
*.*dump*
drawing_board/
build/
include/
local/
lib/
David Hancock
Flux Research Group
University of Utah
dhancock@cs.utah.edu
9 May 2018
The HyPer4 Controller project provides tools for working with the HyPer4
virtualized programmable data plane:
- A controller with client interfaces
-- includes an API for defining network slices
-- includes an API for composing P4 programs
- A P4->HyPer4 compiler
- A bmv2 command -> HyPer4 command interpreter
Execute this command to make hp4controller module and sub modules available
to the system:
sudo python ./setup.py install_lib
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "hyper4_control_project",
version = "0.1.0",
author = "David Hancock",
author_email = "dhancock@cs.utah.edu",
description = ("Controller and associated tools for the HyPer4 virtualized "
"programmable data plane"),
license = "MIT",
keywords = "p4 vpdp controller",
packages=find_packages(),
long_description=read('README.txt'),
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Topic :: System :: Networking",
],
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment