kytos-ng / of_core

Kytos Main OpenFlow Network Application (NApp)
MIT License
0 stars 5 forks source link

Error running egg_info with python 3.9 #58

Closed rmotitsuki closed 2 years ago

rmotitsuki commented 2 years ago

Running the command python setup.py egg_info with python 3.9.9, the NApp returns an error. Possible solution is the item 3:

  1. explicitly set py_modules or packages with a list of names setting packagers=[] in setup.py
    $ python setup.py egg_info
    /env_kytos3.9/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarn PEP 517 installer.
    warnings.warn(
    error: Multiple top-level packages discovered in a flat-layout: ['v0x01', 'v0x04'].
    To avoid accidental inclusion of unwanted files or directories,
    setuptools will not proceed with this build.
    If you are trying to create a single distribution with multiple packages
    on purpose, you should not rely on automatic discovery.
    Instead, consider the following options:
    1. set up custom discovery (`find` directive with `include` or `exclude`)
    2. use a `src-layout`
    3. explicitly set `py_modules` or `packages` with a list of names
    To find more information, look for "package discovery" on setuptools docs.