Skip to content
Snippets Groups Projects
  • Brandon Heller's avatar
    8f99421e
    Fix setuptools installation · 8f99421e
    Brandon Heller authored
    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.
    8f99421e
    History
    Fix setuptools installation
    Brandon Heller authored
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
setup.py 928 B
#!/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,
)