Packaging code is a frequent approach in both open-source and business Python development. You can use various tools, such as Cookiecutter, or you can package your package manually.
Now, you also have a much simpler solution, a makepackape Python package, with which it takes just one simple shell command to create a package: $ makepackage my_package This will create a Python package named my_package. If you want to add command-line interface to it, add a --cli flag: $ makepackage my_package --cli That's all you need! You will create a package with several functions, documentation, doctests and pytests; you only need to fill in setup.py in several places and LICENSE in one place. makepackage's assumption is simplicity, so it does offer any additional functionality. This means you can create just one structure (a common one) of a Python package (with or without a CLI command). After you have called the above command, you can start developing your package - fill in the above-mentioned fields, and start replacing the existing functions and tests. Is there a simpler way? You can install makepackage from PyPi: $ pip install makepackage You can also check out the package's repository in GitHub: https://github.com/nyggus/makepackage. Best wishes, Marcin _______________________________________________ Python-announce-list mailing list -- firstname.lastname@example.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Member address: arch...@mail-archive.com