This tool automates creation of directory structures and files when setting up a new installable package.
- Creates new package template in current working directory, or specified directory path
- New package template is set up for stand-alone installation
- New package is run using an alias of the package name (e.g. package_template)
- Create a local Python environment >= 3.7 and activate it
- Download this repository (package_template)
- From the terminal
cdto thepackage_template-masterdirectory within it containing therequirments.txtfile. - Install the
requirments.txtfile withpip install -r requirements.txt - Install
package_templatewithpip install --upgrade . - Run
package_templatefrom anywhere with thepackage_templatealias.
Example terminal command:
package_template --name test_package --outpath "C:\\Users\\USER\\Desktop\\test_package"
package name:
--name: name of new package (also used for entry point alias)--outpath: full path of desired output directory (Windows, OS X, Linux)