Skip to content

Conversation

@omerpalaz
Copy link
Contributor

No description provided.

.idea/vcs.xml Outdated
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove the .idea directory. Can you also add a .gitignore similar to the other projects to prevent .idea and other unwanted files in the repo?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ".idea" directory is removed.
  • ".gitignore" is added to the project repo.

@TimEvens
Copy link
Contributor

TimEvens commented Sep 7, 2016

A few changes:

  • setup.py is empty. It should be similar to what you see in the other python modules. It needs to include the install for the openbmp items only.
  • README should be updated to include install steps, including wheel.
  • You are missing init.py under openbmp/, openbmp/api/, and openbmp/api/parsed. You need __init__.py under each module directory, otherwise import fails with no module found.
  • examples/log_consumer.py is not importing the library correctly. Should be openbmp.api.parsed.message. The __all__ variable is not defined in __init__.py , so it's not importing the needed modules. Define all so that import * works correctly.
  • When using import * you need to use .. For example, Message.Message(), not Message(). Alternatively, you can import each module/class (eg. from openbmp.api.parsed.message.Message import Message).

@omerpalaz omerpalaz closed this Sep 19, 2016
@omerpalaz omerpalaz reopened this Sep 19, 2016
@TimEvens TimEvens merged commit 39a9eda into SNAS:master Sep 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants