Skip to content

Commit

Permalink
Update project structure from template
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Apr 15, 2015
1 parent 39bca27 commit 9183b09
Show file tree
Hide file tree
Showing 11 changed files with 149 additions and 116 deletions.
5 changes: 3 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
* text=auto
CHANGES.md merge=union

*.xlsx binary

# Python, Git, and Cygwin have different ideas about the correct line endings
*.yml -text
Expand All @@ -7,5 +10,3 @@
*.html -text
*.csv -text
*.tsv -text

*.xlsx binary
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pages/reqs/

# Testing and coverage results
.coverage
htmlcov
pyunit.xml

# Build and release directories
Expand Down
1 change: 0 additions & 1 deletion .noserc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ cover-package=doorstop.common,doorstop.core,
doorstop.cli.main,doorstop.cli.utilities,
doorstop.gui,doorstop.server
cover-erase=1
cover-min-percentage=98

verbosity=1
logging-level=DEBUG
Expand Down
27 changes: 18 additions & 9 deletions .project
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</natures>
<filteredResources>
<filter>
<id>1399387763933</id>
<id>1398478527151</id>
<name></name>
<type>26</type>
<matcher>
Expand All @@ -25,7 +25,7 @@
</matcher>
</filter>
<filter>
<id>1399387763939</id>
<id>1398478527152</id>
<name></name>
<type>26</type>
<matcher>
Expand All @@ -34,7 +34,7 @@
</matcher>
</filter>
<filter>
<id>1399387763945</id>
<id>1398478527153</id>
<name></name>
<type>26</type>
<matcher>
Expand All @@ -43,7 +43,7 @@
</matcher>
</filter>
<filter>
<id>1399387763951</id>
<id>1398478527154</id>
<name></name>
<type>22</type>
<matcher>
Expand All @@ -52,7 +52,7 @@
</matcher>
</filter>
<filter>
<id>1399387763956</id>
<id>1398478527155</id>
<name></name>
<type>26</type>
<matcher>
Expand All @@ -61,7 +61,7 @@
</matcher>
</filter>
<filter>
<id>1399387763962</id>
<id>1398478527156</id>
<name></name>
<type>22</type>
<matcher>
Expand All @@ -70,7 +70,7 @@
</matcher>
</filter>
<filter>
<id>1399387763968</id>
<id>1398478527157</id>
<name></name>
<type>22</type>
<matcher>
Expand All @@ -79,7 +79,7 @@
</matcher>
</filter>
<filter>
<id>1399387763974</id>
<id>1398478527158</id>
<name></name>
<type>26</type>
<matcher>
Expand All @@ -88,13 +88,22 @@
</matcher>
</filter>
<filter>
<id>1399387763981</id>
<id>1398478527159</id>
<name></name>
<type>26</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-false-false-dist</arguments>
</matcher>
</filter>
<filter>
<id>1429034866152</id>
<name></name>
<type>26</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-false-false-htmlcov</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
sudo: false
language: python
python:
- 3.3
Expand Down
51 changes: 51 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
For Contributors
================

Requirements
------------

* Make:
* Windows: http://cygwin.com/install.html
* Mac: https://developer.apple.com/xcode
* Linux: http://www.gnu.org/software/make (likely already installed)
* virtualenv: https://pypi.python.org/pypi/virtualenv#installation
* Pandoc: http://johnmacfarlane.net/pandoc/installing.html
* Graphviz: http://www.graphviz.org/Download.php

Installation
------------

Create a virtualenv:

```
$ make env
```

Run the tests:

```
$ make test
$ make tests # includes integration tests
```

Build the documentation:

```
$ make doc
```

Run static analysis:

```
$ make pep8
$ make pep257
$ make pylint
$ make check # includes all checks
```

Release to PyPI:

```
$ make upload-test # dry run upload to a test server
$ make upload
```
Loading

0 comments on commit 9183b09

Please sign in to comment.