From 23019ab3fae231941b2dddc6148f8993a0b646b1 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 26 Jan 2010 17:07:58 +0000 Subject: [PATCH] Reorganised the file structure --- .gitignore | 1 + Makefile | 2 +- README => docs/README | 0 setup.py | 3 +++ test.py | 5 ++++- {test => tests}/__init__.py | 0 {test => tests}/testtvorganise.py | 0 7 files changed, 9 insertions(+), 2 deletions(-) rename README => docs/README (100%) mode change 100644 => 100755 setup.py rename {test => tests}/__init__.py (100%) rename {test => tests}/testtvorganise.py (100%) diff --git a/.gitignore b/.gitignore index 5d3c588..b4d363f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ debian/tvorganise* build/ *.egg-info python-build-stamp-2.5 +dist/ diff --git a/Makefile b/Makefile index 5054664..7369dc9 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ all: clean: rm -f *.pyc - rm -f test/*.pyc + rm -f tests/*.pyc rm -rf build rm -f python-build-stamp-2.5 rm -rf tvorganise.egg-info diff --git a/README b/docs/README similarity index 100% rename from README rename to docs/README diff --git a/setup.py b/setup.py old mode 100644 new mode 100755 index 44e5b6c..253b8f5 --- a/setup.py +++ b/setup.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python +#encoding:utf-8 + from setuptools import setup, find_packages setup( name = 'tvorganise', diff --git a/test.py b/test.py index 38182ab..059d5cc 100755 --- a/test.py +++ b/test.py @@ -1,3 +1,6 @@ -from test import testtvorganise +#!/usr/bin/env python +#encoding:utf-8 + +from tests import testtvorganise testtvorganise.run() diff --git a/test/__init__.py b/tests/__init__.py similarity index 100% rename from test/__init__.py rename to tests/__init__.py diff --git a/test/testtvorganise.py b/tests/testtvorganise.py similarity index 100% rename from test/testtvorganise.py rename to tests/testtvorganise.py