Skip to content

Commit ac3b715

Browse files
committed
adding manifest file and fixing logging test
1 parent 1b0a4cb commit ac3b715

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

MANIFEST.in

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include *.txt
2+
recursive-include static
3+
recursive logs
4+
recursive workdir/

setup.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2020
# SOFTWARE.
2121

22+
23+
try:
24+
from setuptools import setup
25+
except ImportError:
26+
from distutils.core import setup
27+
2228
with open('VERSION.txt') as ff:
2329
VERSION = ff.read().strip()
2430

@@ -37,11 +43,6 @@
3743

3844
KEYWORDS = 'PyWPS WPS OGC processing'
3945

40-
try:
41-
from setuptools import setup
42-
except ImportError:
43-
from distutils.core import setup
44-
4546
config = {
4647
'description': DESCRIPTION,
4748
'keywords': KEYWORDS,

tests/test_log.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def test_db_log(self):
88
conn = sqlite3.connect('logs/pywps-logs.sqlite3')
99

1010
cur = conn.cursor()
11-
cur.execute('select * from pywps_requests')
11+
cur.execute('select * from pywps_stored_requests')
1212
all_lines = cur.fetchall()
1313

1414
self.assertEqual(len(all_lines)%5, 0)

0 commit comments

Comments
 (0)