Skip to content

Commit f95aa0c

Browse files
committed
Fix to import error bug
1 parent 70b05b2 commit f95aa0c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

pyavatax/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = (1, 3, 9)
1+
VERSION = (1, 3, 10)
22

33

44
def get_version():

pyavatax/django_integration.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
from django.utils import timezone
2-
3-
41
class MockDjangoRecorder(object):
5-
2+
63
@staticmethod
74
def failure(doc, response):
85
pass
@@ -15,6 +12,7 @@ def success(doc):
1512
def get_django_recorder():
1613
try:
1714
import django
15+
from django.utils import timezone
1816
from django.conf import settings
1917
from pyavatax.models import AvaTaxRecord
2018
except ImportError:

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ pytest==2.6.4
99
testfixtures==4.1.2
1010
Sphinx==1.1.3
1111
simplejson==3.3.0
12+
twine==1.9.1

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#! /usr/bin/env python
22
from setuptools import setup, find_packages
33
# python setup.py sdist
4-
# python setup.py sdist bdist_wininst upload
4+
# python setup.py sdist bdist_wininst
5+
# twine upload dist/*
56

67
version = __import__('pyavatax').__version__
78

0 commit comments

Comments
 (0)