-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
39 lines (37 loc) · 1.33 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import os
from setuptools import setup
VERSION = "0.1.3"
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "P4Benchmark",
version = VERSION,
author = "Huynh Tu Dang",
author_email = "[email protected]",
description = ("A tool for generating P4 programs which test various "
"aspect of P4 compilers and targets."),
license = "GPL-3.0",
keywords = "P4 benchmark",
url = "https://github.com/usi-systems/p4benchmark",
entry_points = {
'console_scripts': [
'p4benchmark=p4gen.p4bench:main',
],
},
install_requires=[
'scapy',
],
packages = ['p4gen', 'action_complexity', 'packet_modification', 'parsing',
'processing', 'state_access', 'tests'],
package_dir = {'p4gen' : 'p4gen'},
package_data = {'p4gen' : ['template/define.txt', 'template/run_switch.sh', 'template/run_test.py',
'template/*/*']},
long_description=read('README.rst'),
test_suite='nose.collector',
tests_require=['nose'],
include_package_data=True,
)