Skip to content

Commit

Permalink
Packaging work
Browse files Browse the repository at this point in the history
Add CHANGES file, change README and LICENSE extension
  • Loading branch information
ptrv committed Jan 5, 2014
1 parent 7e12677 commit 589e8d2
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGES.txt
@@ -0,0 +1 @@
v0.5, <date> --- Initial release as python package.
File renamed without changes.
3 changes: 1 addition & 2 deletions MANIFEST.in
@@ -1,3 +1,2 @@
include README.rst
include LICENSE
include *.txt
include gpx2spatialite/data/sql/*.sql
17 changes: 12 additions & 5 deletions README.rst → README.txt
@@ -1,5 +1,6 @@
==============
gpx2spatialite
--------------
==============
:Author: Daniel Belasco Rogers <http://planbperformance.net/dan>,
Peter Vasil <mail@petervasil.net>

Expand All @@ -10,23 +11,23 @@ tracklines to a database (SQL for database below)


Usage
=====
-----

Run the script::

gpx2spatialite -d <path/to/database> <path/to/gpx> <user_id>


Create a new database
=====================
---------------------

Run script to create a new database and initialize it::

gpx2spatialite_create_db <path/to/new/database>


CityDefs
========
--------

Import/update citydefs into existing database::

Expand All @@ -38,8 +39,14 @@ Export citydefs table::


Unit tests
==========
----------

Run the following command to run the tests::

python setup.py test

..

Local Variables:
mode: rst
End:
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -32,7 +32,7 @@ def run(self):


def readme():
with open('README.rst') as readme_file:
with open('README.txt') as readme_file:
return readme_file.read()

setup(description='gpx2spatialite',
Expand All @@ -51,4 +51,4 @@ def readme():
cmdclass={'test': PyTest},
include_package_data=True,
zip_safe=False,
license='GPL')
license='LICENSE.txt')

0 comments on commit 589e8d2

Please sign in to comment.