From 9a9b375d30ab342399e708d0fb8bb216492df528 Mon Sep 17 00:00:00 2001 From: "Gavin M. Roy" Date: Thu, 16 Oct 2014 10:15:19 -0400 Subject: [PATCH] Minor updates - Add a .editorconfig file (See http://editorconfig.org) - Add wheel distribution - Remove sprockets requirement --- .../.editorconfig | 14 ++++++++++++++ .../.travis.yml | 3 ++- .../requirements.txt | 1 - sprockets.{{cookiecutter.project_name}}/setup.cfg | 14 ++------------ 4 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 sprockets.{{cookiecutter.project_name}}/.editorconfig diff --git a/sprockets.{{cookiecutter.project_name}}/.editorconfig b/sprockets.{{cookiecutter.project_name}}/.editorconfig new file mode 100644 index 0000000..1e60c81 --- /dev/null +++ b/sprockets.{{cookiecutter.project_name}}/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.py] +indent_style = space +indent_size = 4 + +[.travis.yml] +indent_style = space +indent_size = 2 diff --git a/sprockets.{{cookiecutter.project_name}}/.travis.yml b/sprockets.{{cookiecutter.project_name}}/.travis.yml index cf61ada..8aeec00 100644 --- a/sprockets.{{cookiecutter.project_name}}/.travis.yml +++ b/sprockets.{{cookiecutter.project_name}}/.travis.yml @@ -16,11 +16,12 @@ script: nosetests after_success: - coveralls deploy: + distributions: sdist bdist_wheel provider: pypi - user: sprockets on: python: 2.7 tags: true all_branches: true + user: sprockets password: secure: [REPLACE-ME] diff --git a/sprockets.{{cookiecutter.project_name}}/requirements.txt b/sprockets.{{cookiecutter.project_name}}/requirements.txt index 9724f0b..e69de29 100644 --- a/sprockets.{{cookiecutter.project_name}}/requirements.txt +++ b/sprockets.{{cookiecutter.project_name}}/requirements.txt @@ -1 +0,0 @@ -sprockets<2 \ No newline at end of file diff --git a/sprockets.{{cookiecutter.project_name}}/setup.cfg b/sprockets.{{cookiecutter.project_name}}/setup.cfg index ebd242f..7c2b287 100644 --- a/sprockets.{{cookiecutter.project_name}}/setup.cfg +++ b/sprockets.{{cookiecutter.project_name}}/setup.cfg @@ -1,12 +1,2 @@ -[build_sphinx] -all-files = 1 -source-dir = docs -build-dir = build/docs - -[nosetests] -with-coverage = 1 -cover-package = sprockets.{{cookiecutter.project_name}} -verbose = 1 - -[flake8] -exclude = build,dist,docs,env +[bdist_wheel] +universal = 1 \ No newline at end of file