Home » Projects » Cookicutter Pypackage
Cookiecutter template for a Python package.
unittest
and python setup.py test
or pytest
Cookiecutter: https://github.com/cookiecutter/cookiecutter
Install the latest Cookiecutter if you haven’t installed it yet (this requires Cookiecutter 1.4.0 or higher):
pip install -U cookiecutter
Generate a Python package project:
cookiecutter https://github.com/vaibhavvikas/cookiecutter-pypackage.git
Then:
pip install -r requirements.txt
)requirements.txt
file that specifies the packages you will need for
your project and their versions. For more info see the pip docs for requirements files
.pip docs for requirements files: https://pip.pypa.io/en/stable/user_guide/#requirements-files
Register: https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives
\docs
.save
. The github action for github pages deployment will start after that you can check the github pages when its complete.Github Pages don’t support the files or links of files outside the github pages folder i.e. you can’t access files in the parent directory. As a result you’ll need to copy the contents of the corresponding files from your main repo to the files inside docs folder. I know its kind of redundant. I will update if I find any solution. Suggestions are welcome (: