The packages argument was incorrectly specified, leading to an install process that would appear to have succeeded, but would not actually copy code. The error likely occurred due to copying setup.py from another project where the source files were located in a different position relative to setup.py.
36 lines
928 B
Python
36 lines
928 B
Python
#!/usr/bin/env python
|
|
'''Setuptools params'''
|
|
|
|
from setuptools import setup, find_packages
|
|
from os.path import join
|
|
|
|
scripts = [join('bin', filename) for filename in
|
|
['mn_run.py', 'mn_clean.py']]
|
|
|
|
modname = distname = 'mininet'
|
|
|
|
setup(
|
|
name=distname,
|
|
version='0.0.0',
|
|
description='Process-based OpenFlow emulator',
|
|
author='Bob Lantz',
|
|
author_email='rlantz@cs.stanford.edu',
|
|
packages=find_packages(exclude='test'),
|
|
long_description="""\
|
|
Insert longer description here.
|
|
""",
|
|
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',
|
|
license='GPL',
|
|
install_requires=[
|
|
'setuptools'
|
|
],
|
|
scripts=scripts,
|
|
)
|