No description
Find a file
Scott Shawcroft 0310eaf91f
Make bundle location absolute
Having it relative meant that changing directory in the script section messes it up. This way, it doesn't matter what the script section does.
2018-02-15 17:31:53 -08:00
{{ cookiecutter.library_name }} Make bundle location absolute 2018-02-15 17:31:53 -08:00
CODE_OF_CONDUCT.md Initial library cookiecutter that is setup for single module libraries. Packages are pretty easy on top of this. 2017-01-19 14:46:49 -08:00
conf.py Initial library cookiecutter that is setup for single module libraries. Packages are pretty easy on top of this. 2017-01-19 14:46:49 -08:00
cookiecutter.json Add in configs and docs for CircuitPython Build Tool support. 2017-11-30 17:59:36 -08:00
LICENSE Initial library cookiecutter that is setup for single module libraries. Packages are pretty easy on top of this. 2017-01-19 14:46:49 -08:00
README.rst Add note that one should look everything over after generation. 2017-12-01 10:45:01 -08:00
readthedocs.yml Initial library cookiecutter that is setup for single module libraries. Packages are pretty easy on top of this. 2017-01-19 14:46:49 -08:00

Introduction
============

.. image :: https://img.shields.io/discord/327254708534116352.svg
    :target: https://discord.gg/nBQh6qu
    :alt: Discord

This cookiecutter creates a project structure for a Adafruit CircuitPython
library.

To use:

.. code-block:: bash

  # The first time
  pip install cookiecutter

  cookiecutter gh:adafruit/cookiecutter-adafruit-circuitpython

Then, fill in the prompts.

After generation, make sure to glance over the files to make sure they
autogenerated as you expect (such as capitalization). There are a couple places
with TODOs that should also be filled in.

Prompts
--------

* `library_name` - Shortest name for the library. Usually a chip name such as LIS3DH.
* `depends_on_bus_device` - Determines whether to add comments about a dependency on [BusDevice](https://github.com/adafruit/Adafruit_CircuitPython_BusDevice). Leave empty if the library won't use BusDevice.
* `depends_on_register` - Determines whether to add comments about a dependency on [Register](https://github.com/adafruit/Adafruit_CircuitPython_Register). Leave empty if the library won't use Register.
* `author` - Who you are! Sets the copyright to you.
* `github_user` - GitHub user or organization which will host this repo. For example, Adafruit funded libraries should say "adafruit" here.
* `library_prefix` - Used to prefix the code to the organization creating the library. For example, Adafruit supported libraries should say "adafruit" here. Do not add a - or _.
* `company` - Used to give Copyright credit to the company funding the library. For example, Adafruit funded libraries should say "Adafruit Industries" here.