Skip to content
This repository was archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
Merge pull request #12 from geometalab/develop
Browse files Browse the repository at this point in the history
Minor updates to improve performance and maintainability
  • Loading branch information
marcelhuberfoo committed Jun 1, 2016
2 parents 458cad4 + 5ccd9ca commit 2a52024
Show file tree
Hide file tree
Showing 20 changed files with 2,960 additions and 579 deletions.
4 changes: 2 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.git/
.settings/
README.md
*.swp
.venv*/
GeoConverter/settings_production.py
*.tar
*.sqlite
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GeoConverter/_version.py export-subst
15 changes: 5 additions & 10 deletions GeoConverter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import codecs
import re
from ._version import get_versions
__version__ = get_versions()['version']
__date__ = get_versions()['date']

__version__ = '1.0.0'
__date__ = 'May 12, 2016'

def get_metadata():
return get_versions()

def get_metadata(filepath=__file__):
with codecs.open(filepath, encoding='utf8') as version_file:
return dict(
re.findall(
r"""__([a-z]+)__\s*=\s*["']([^"']+)""",
version_file.read()))
Loading

0 comments on commit 2a52024

Please sign in to comment.