summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--gnucashxml.py19
-rwxr-xr-xsetup.py16
3 files changed, 38 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5be420a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+MANIFEST
+README.txt
+dist
diff --git a/gnucashxml.py b/gnucashxml.py
index da9ca0e..2fea612 100644
--- a/gnucashxml.py
+++ b/gnucashxml.py
@@ -1,3 +1,22 @@
+# gnucashxml.py --- Parse GNU Cash XML files
+
+# Copyright (C) 2012 Jorgen Schaefer <forcer@forcix.cx>
+
+# Author: Jorgen Schaefer <forcer@forcix.cx>
+
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 3
+# of the License, or (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
import decimal
import gzip
diff --git a/setup.py b/setup.py
new file mode 100755
index 0000000..5773188
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,16 @@
+#!/usr/bin/env python
+
+import shutil
+
+from distutils.core import setup
+
+shutil.copy("README.md", "README.txt")
+
+setup(name='gnucashxml',
+ version='1.0',
+ description="Parse GNU Cash XML files",
+ author="Jorgen Schaefer",
+ author_email="forcer@forcix.cx",
+ url="https://github.com/jorgenschaefer/gnucashxml",
+ py_modules=['gnucashxml']
+ )