Skip to content

Commit

Permalink
fix version problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Alan Weaver committed Jan 17, 2015
1 parent 98a1628 commit 50b4c3a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion py/desisim/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
from . import obs
from . import io

__version__ = '0.3.1.dev'
__version__ = '0.3.2'
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@
#
# Try to obtain svn information.
#
try:
from desiUtil.install import get_svn_devstr
setup_keywords['version'] += get_svn_devstr()
except ImportError:
pass
if 'github' not in setup_keywords['url'].lower():
try:
from desiUtil.install import get_svn_devstr
setup_keywords['version'] += get_svn_devstr(setup_keywords['name'])
except ImportError:
pass
#
# Set other keywords for the setup function. These are automated, & should
# be left alone unless you are an expert.
Expand Down

0 comments on commit 50b4c3a

Please sign in to comment.