Following Peter Hessler's comments and my own experiences, this changes the project directory structure to more of a standard Python directory structure with the core application code being a single package.
We then add pbgpp.py again as a simple shim for pbgpp.Application.CLI.main(), and add a setup.py which allows installing pbgp-parser as a system tool called pbgpp.
A possible follow-up on this would be publishing this as a package to PyPI.
Do not be alarmed by the large number of files changed: they are mostly simply rewriting the import statements. :)
Following Peter Hessler's comments and my own experiences, this changes the project directory structure to more of a standard Python directory structure with the core application code being a single package.
We then add
pbgpp.py
again as a simple shim forpbgpp.Application.CLI.main()
, and add asetup.py
which allows installing pbgp-parser as a system tool calledpbgpp
.A possible follow-up on this would be publishing this as a package to PyPI.
Do not be alarmed by the large number of files changed: they are mostly simply rewriting the import statements. :)