carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | |
| 3 | "Setuptools params" |
| 4 | |
| 5 | from setuptools import setup, find_packages |
| 6 | from os.path import join |
| 7 | |
| 8 | # Get version number from source tree |
| 9 | import sys |
| 10 | sys.path.append( '.' ) |
| 11 | from mininet.net import VERSION |
| 12 | |
ashu | 01b62f7 | 2015-03-12 15:16:11 -0500 | [diff] [blame] | 13 | scripts = [ join( 'bin', filename ) for filename in [ 'mn', 'minindn', 'minindnedit' ] ] |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 14 | |
| 15 | modname = distname = 'mininet' |
| 16 | |
| 17 | setup( |
| 18 | name=distname, |
| 19 | version=VERSION, |
ashu | 01b62f7 | 2015-03-12 15:16:11 -0500 | [diff] [blame] | 20 | description='Process-based OpenFlow emulator with NDN extension', |
carlosmscabral | 9ab2f8d | 2013-02-04 12:28:14 -0200 | [diff] [blame] | 21 | author='Bob Lantz, Carlos Cabral', |
| 22 | author_email='rlantz@cs.stanford.edu, cabral@dca.fee.unicamp.br', |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 23 | packages=find_packages(exclude='test'), |
| 24 | long_description=""" |
| 25 | Mininet is a network emulator which uses lightweight |
| 26 | virtualization to create virtual networks for rapid |
| 27 | prototyping of Software-Defined Network (SDN) designs |
carlosmscabral | 9ab2f8d | 2013-02-04 12:28:14 -0200 | [diff] [blame] | 28 | using OpenFlow. http://openflow.org/mininet. |
ashu | 01b62f7 | 2015-03-12 15:16:11 -0500 | [diff] [blame] | 29 | This also includes an extension for using Content Centric |
| 30 | Networks based on the Named Data Networking (NDN) model. |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 31 | """, |
| 32 | classifiers=[ |
| 33 | "License :: OSI Approved :: BSD License", |
| 34 | "Programming Language :: Python", |
| 35 | "Development Status :: 2 - Pre-Alpha", |
| 36 | "Intended Audience :: Developers", |
| 37 | "Topic :: Internet", |
| 38 | ], |
ashu | 01b62f7 | 2015-03-12 15:16:11 -0500 | [diff] [blame] | 39 | keywords='networking emulator protocol Internet OpenFlow SDN NDN NFD NLSR', |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 40 | license='BSD', |
| 41 | install_requires=[ |
| 42 | 'setuptools', |
| 43 | 'networkx' |
| 44 | ], |
| 45 | scripts=scripts, |
| 46 | ) |