Fix everything
This commit is contained in:
parent
66702da299
commit
bbecba509b
6 changed files with 14 additions and 14 deletions
36
{{cookiecutter.package_name}}/.gitignore
vendored
Normal file
36
{{cookiecutter.package_name}}/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
*.py[cod]
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Packages
|
||||
*.egg
|
||||
*.egg-info
|
||||
dist
|
||||
build
|
||||
eggs
|
||||
parts
|
||||
bin
|
||||
var
|
||||
sdist
|
||||
develop-eggs
|
||||
.installed.cfg
|
||||
lib
|
||||
lib64
|
||||
__pycache__
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
.coverage
|
||||
.tox
|
||||
nosetests.xml
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
|
||||
# Mr Developer
|
||||
.mr.developer.cfg
|
||||
.project
|
||||
.pydevproject
|
||||
39
{{cookiecutter.package_name}}/README.rst
Normal file
39
{{cookiecutter.package_name}}/README.rst
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{{ cookiecutter.package_name }}
|
||||
{{ cookiecutter.package_name|count * "=" }}
|
||||
|
||||
{% if cookiecutter.readme_pypi_badge -%}
|
||||
.. image:: https://pypip.in/v/{{ cookiecutter.package_name }}/badge.png
|
||||
:target: https://pypi.python.org/pypi/{{ cookiecutter.package_name }}
|
||||
:alt: Latest PyPI version
|
||||
{%- endif %}
|
||||
|
||||
{% if cookiecutter.readme_travis_badge -%}
|
||||
.. image:: {{ cookiecutter.readme_travis_url }}.png
|
||||
:target: {{ cookiecutter.readme_travis_url }}
|
||||
:alt: Latest Travis CI build status
|
||||
{%- endif %}
|
||||
|
||||
{{ cookiecutter.package_description }}
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
Requirements
|
||||
^^^^^^^^^^^^
|
||||
|
||||
Compatibility
|
||||
-------------
|
||||
|
||||
Licence
|
||||
-------
|
||||
|
||||
Authors
|
||||
-------
|
||||
|
||||
`{{ cookiecutter.package_name }}` was written by `{{ cookiecutter.author_name }} <{{ cookiecutter.author_email }}>`_.
|
||||
{% if cookiecutter.maintainer_name -%}
|
||||
`{{ cookiecutter.package_name }}` was written by `{{ cookiecutter.maintainer_name }} <{{ cookiecutter.maintainer_email }}>`_.
|
||||
{%- endif %}
|
||||
31
{{cookiecutter.package_name}}/setup.py
Normal file
31
{{cookiecutter.package_name}}/setup.py
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
name="{{ cookiecutter.package_name }}",
|
||||
version="{{ cookiecutter.package_version }}",
|
||||
url="{{ cookiecutter.package_url }}",
|
||||
|
||||
author="{{ cookiecutter.author_name }}",
|
||||
author_email="{{ cookiecutter.author_email }}",
|
||||
|
||||
{%- if cookiecutter.maintainer_name -%}
|
||||
maintainer="{{ cookiecutter.maintainer_name }}",
|
||||
maintainer_email="{{ cookiecutter.maintainer_email }}",
|
||||
{%- endif %}
|
||||
|
||||
description="{{ cookiecutter.package_description }}",
|
||||
long_description=open('README.rst').read(),
|
||||
|
||||
packages=setuptools.find_packages(),
|
||||
|
||||
install_requires=[],
|
||||
|
||||
classifiers=[
|
||||
'Development Status :: 2 - Pre-Alpha',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.3',
|
||||
],
|
||||
)
|
||||
6
{{cookiecutter.package_name}}/tox.ini
Normal file
6
{{cookiecutter.package_name}}/tox.ini
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[tox]
|
||||
envlist=py27,py33
|
||||
|
||||
[testenv]
|
||||
commands=py.test {{ cookiecutter.package_name }}
|
||||
deps=pytest
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
"""{{ cookiecutter.package_name }} - {{ cookiecutter.package_description }}"""
|
||||
|
||||
__version__ = '{{ cookiecutter.package_version }}'
|
||||
__author__ = '{{ cookiecutter.author_name }} <{{ cookiecutter.author_email }}>'
|
||||
{%- if cookiecutter.maintainer_name -%}
|
||||
__maintainer__ = '{{ cookiecutter.maintainer_name }} <{{ cookiecutter.maintainer_email }}>'
|
||||
{%- endif %}
|
||||
__all__ = []
|
||||
Loading…
Add table
Add a link
Reference in a new issue