forked from jaraco/skeleton
-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Pablo Prietz edited this page Dec 9, 2021
·
7 revisions
Welcome to the python-module-skeleton instructions!
This repository is meant to be used as a template for new Python modules at Pupil Labs. It is based on https://blog.jaraco.com/skeleton/
In order to create a new repo from the template follow these steps:
# create a folder `project-name` and initializes it as an empty git repository
git init project-name
cd project-name
# clones the template contents into the new repo
git pull https://github.com/pupil-labs/python-module-skeleton.git
- Open
setup.cfg
and edit the package's meta data accordingly - Rename the
src/pupil_labs/project_name
folder accordingly. Keep it in thepupil_labs
folder to let your module be part of the Pupil Labs namespace (import pupil_labs.project_name
)
To make your package available to others, create a new, empty Github or Gitlab repository, copy its URL, and add it as a git remote. Then push the main branch.
git add origin <copied url>
git push origin main
To learn more about the template, go and read https://blog.jaraco.com/skeleton/