Skip to content

Commit

Permalink
Refactor project to be more Python standard
Browse files Browse the repository at this point in the history
- Rename 'photocollagelib' to 'photocollage'
- Add a 'bin' directory
- Use spaces instead of tabs
- Inherit classes from 'object'
- Be PEP8 compliant
  • Loading branch information
adrienverge committed Dec 28, 2014
1 parent 39a3dcd commit ab903e3
Show file tree
Hide file tree
Showing 10 changed files with 1,277 additions and 1,251 deletions.
4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include LICENSE README.md
include photocollage
recursive-include photocollagelib *.py
include bin/photocollage
recursive-include photocollage *.py
include data/photocollage.desktop
include data/photocollage.appdata.xml
recursive-include data/icons/hicolor *
Expand Down
4 changes: 2 additions & 2 deletions photocollage → bin/photocollage
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
"""

from photocollagelib import gtkgui
from photocollage import gtkgui

if __name__ == '__main__':
gtkgui.main()
gtkgui.main()
File renamed without changes.
Loading

0 comments on commit ab903e3

Please sign in to comment.