Skip to content

Commit

Permalink
Merge pull request #28 from mikkokotila/master
Browse files Browse the repository at this point in the history
1.9.4.2 bug fix
  • Loading branch information
mikkokotila committed May 6, 2018
2 parents 8bbcf64 + cd91a2f commit 2ba31d1
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2016 Mikko Kotila
Copyright (c) 2016-2018 Mikko Kotila

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion astetik/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@
except:
pass

__version__ = "1.9.4"
__version__ = "1.9.4.1"
1 change: 1 addition & 0 deletions astetik/extras/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "1.9.4.2"
2 changes: 1 addition & 1 deletion astetik/plots/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.9.4"
__version__ = "1.9.4.2"
2 changes: 1 addition & 1 deletion astetik/style/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.9.4"
__version__ = "1.9.4.2"
2 changes: 1 addition & 1 deletion astetik/tables/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.9.4"
__version__ = "1.9.4.2"
2 changes: 1 addition & 1 deletion astetik/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.9.4"
__version__ = "1.9.4.2"
6 changes: 5 additions & 1 deletion astetik/utils/country_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

import pkg_resources

countries = pkg_resources.resource_filename('astetik', 'extras/countries.csv')
try:
countries = pkg_resources.resource_filename('astetik', 'extras/countries.csv')
except IOError:
countries = 'https://raw.githubusercontent.com/mikkokotila/astetik/master/astetik/extras/countries.csv'

countries = pd.read_csv(countries)


Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
URL = 'http://mikkokotila.com'
LICENSE = 'MIT'
DOWNLOAD_URL = 'https://github.com/mikkokotila/pretty'
VERSION = '1.9.4'
VERSION = '1.9.4.2'

try:
from setuptools import setup
Expand Down Expand Up @@ -90,7 +90,8 @@ def check_dependencies():
'astetik.utils',
'astetik.tables',
'astetik.style',
'astetik.plots'],
'astetik.plots',
'astetik.extras'],
classifiers=[
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 2.7',
Expand Down

0 comments on commit 2ba31d1

Please sign in to comment.