-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from akun/develop
using cookiecutter as project template generator
- Loading branch information
Showing
40 changed files
with
296 additions
and
435 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
root = true | ||
|
||
[*.py] | ||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.html] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
|
||
[*.js] | ||
indent_style = space | ||
indent_size = 2 | ||
[*.py] | ||
indent_size = 4 | ||
|
||
[*.css] | ||
indent_style = space | ||
[*.{html,css,js,json}] | ||
indent_size = 2 | ||
|
||
[*.bat] | ||
[{*.bat,Makefile}] | ||
indent_style = tab | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,5 @@ | ||
*.py[cod] | ||
*.swp | ||
docs/_build | ||
include | ||
|
||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
language: python | ||
|
||
python: | ||
- "3.3" | ||
- "2.7" | ||
- "2.6" | ||
|
||
install: | ||
- "pip install -r requirements.txt" | ||
- "pip install -r requirements/test.txt" | ||
|
||
script: make test | ||
|
||
after_success: | ||
- coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,7 @@ | ||
SRC_DIR = aproject | ||
DOC_DIR = docs | ||
MAKE = make | ||
|
||
all: | ||
make lint | ||
make test | ||
make html | ||
make clean | ||
|
||
lint: | ||
pylint --rcfile=.pylintrc -E $(SRC_DIR) | ||
|
||
lintall: | ||
pylint --rcfile=.pylintrc $(SRC_DIR) | ||
|
||
test: | ||
nosetests -c nose.cfg | ||
|
||
html: | ||
cd $(DOC_DIR) && $(MAKE) html | ||
cookiecutter . --no-input && cd aproject && $(MAKE) | ||
|
||
clean: | ||
rm -rf *.egg-info | ||
rm -rf build/* | ||
rm -rf dist/* | ||
rm -rf $(SRC_DIR)/*.egg-info | ||
find $(SRC_DIR) -name "*.pyc" | xargs rm | ||
rm -rf aproject |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"full_name": "akun", | ||
"email": "[email protected]", | ||
"github_username": "akun", | ||
"project_name": "aproject", | ||
"repo_name": "aproject", | ||
"project_short_description": "A Project Template", | ||
"release_date": "2014-04-24", | ||
"year": "2014", | ||
"version": "0.0.1" | ||
} |
Oops, something went wrong.