-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wheel layout is incorrect and all the files should be contained within netplot subdir #3
Comments
Could you please state what would be the correct layout and why the current layout is a problem? |
git mv config netplot/config
git mv processor netplot/processor
git mv provider netplot/provider
git rm __init__.py , then fix imports and paths in the packages.
I guess
It bloats the python modules dir with packages with very generic and non-unique names. It makes this package absolutely unsuitable for installation into the system. |
I'm not very experienced in python packaging but I will try to work on this as soon as possible. Feel free to work out a PR if you'd like |
Currently I have no plans to do it. Also I think it'd be much better if you had done it yourself, because there are some info only 6he project author can fill in properly. Also, looking at https://github.com/KOLANICH/python_project_boilerplate.py may be useful for you. This is a template I use for my python projects. |
I read some documentation and your previous comment and I think I've fixed the project structure now. Running a |
console_scripts =
netplot = netplot.netplot:main the name of the file implementing the main CLI for the package should be if __name__ == "__main__":
main() It will allow to call this tool also as
It's a violation of DRY principle. The imports should be relative (must not contain the name of the paciage). It will make refactoring and forking easier. |
[tool.setuptools.packages.find]
include=["netplot", "netplot.*"] |
I think I have addressed all the points you've made, but for the |
No description provided.
The text was updated successfully, but these errors were encountered: