To use the package template run cookiecutter gh:sunpy/package-template
,
once you have run this command you will be asked a series of questions. Below is
a description of each of the prompts.
package_name
: This is a human readable name for your package, like 'Astropy' or 'SunPy'.module_name
: This is the name of your python package i.e. 'astropy' or 'sunpy'.short_description
: This is a one sentence description of your package.long_description
: This is a multi-line description of your package.author_name
: The name or names of the authors.author_email
: A contact email for the authors.license
: The license of your project.project_url
: Project website.include_example_code
: This includes a set of example python and cython files showing you how to use the package template. If you choose 'n' then none of this will be included and you will have to populate the directory structure before you can import the package.include_cextern_folder
: The cextern folder should be used if you are including non-python C code.edit_on_github_extension
: Set to "True" to enable the edit on GitHub sphinx extension.github_project
: This is the GitHub identifier for the edit on GitHub extension and the changelog link extension.project_version
: The current version number of your project.use_travis_ci
: If 'y' the template will include an example.travis.yml
file for the Travis CI service.use_appveyor_ci
: If 'y' the template will include an exampleappveyor.yml
file for the Appveyor CI service.use_read_the_docs
: If 'y' theread_the_docs.yml
and.rtd-environment.yml
files will be included for using conda on Read the Docs.sphinx_theme
: The value of thehtml_theme
variable in the sphinx configuration file.minimum_python_version
: Version string of minimum supported Python version