File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ addons:
3434 - e2fsprogs
3535 - mysql-client
3636 - libproj-dev
37+
3738# mariadb: '10.1'
3839before_script :
3940 - ./scripts/tests/mysql_setup.sh
@@ -55,5 +56,6 @@ install: # now just our code
5556
5657# command to run tests
5758script :
59+
5860 - py.test
5961
Original file line number Diff line number Diff line change 1+ " %PYTHON% " setup.py install
2+ if errorlevel 1 exit 1
3+
4+ :: Add more build steps here, if they are necessary.
5+
6+ :: See
7+ :: http://docs.continuum.io/conda/build.html
8+ :: for a list of environment variables that are set during the build process.
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ $PYTHON setup.py install
4+
5+ # Add more build steps here, if they are necessary.
6+
7+ # See
8+ # http://docs.continuum.io/conda/build.html
9+ # for a list of environment variables that are set during the build process.
Original file line number Diff line number Diff line change 1+ package :
2+ name : psycopg2
3+ version : " 2.6.1"
4+
5+ source :
6+ fn : psycopg2-2.6.1.tar.gz
7+ url : https://pypi.python.org/packages/86/fd/cc8315be63a41fe000cce20482a917e874cdc1151e62cb0141f5e55f711e/psycopg2-2.6.1.tar.gz
8+ md5 : 842b44f8c95517ed5b792081a2370da1
9+ # patches:
10+ # List any patch files here
11+ # - fix.patch
12+
13+ # build:
14+ # preserve_egg_dir: True
15+ # entry_points:
16+ # Put any entry points (scripts to be generated automatically) here. The
17+ # syntax is module:function. For example
18+ #
19+ # - psycopg2 = psycopg2:main
20+ #
21+ # Would create an entry point called psycopg2 that calls psycopg2.main()
22+
23+
24+ # If this is a new build for the same version, increment the build
25+ # number. If you do not include this key, it defaults to 0.
26+ # number: 1
27+
28+ requirements :
29+ build :
30+ - python
31+
32+ run :
33+ - python
34+
35+ test :
36+ # Python imports
37+ imports :
38+ - psycopg2
39+ - psycopg2.tests
40+
41+ # commands:
42+ # You can put test commands to be run here. Use this to test that the
43+ # entry points work.
44+
45+
46+ # You can also put a file called run_test.py in the recipe that will be run
47+ # at test time.
48+
49+ # requires:
50+ # Put any additional test requirements here. For example
51+ # - nose
52+
53+ about :
54+ home : http://initd.org/psycopg/
55+ license : GNU Library or Lesser General Public License (LGPL) or Zope Public License
56+ summary : ' psycopg2 - Python-PostgreSQL Database Adapter'
57+
58+ # See
59+ # http://docs.continuum.io/conda/build.html for
60+ # more information about meta.yaml
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ sqlalchemy
88matplotlib
99#pandas
1010#geoalchemy2
11+
1112addons :
1213 apt :
1314 packages :
@@ -18,3 +19,4 @@ addons:
1819 - wx2.8-examples
1920 - wx2.8-headers
2021 - wx2.8-i18n
22+
Original file line number Diff line number Diff line change 1+ -r requirements.txt
2+ pytest
3+ pytest-cov
4+ mock
5+
6+ #mysql-python
Original file line number Diff line number Diff line change 44
55class TestBulkInsert :
66 def setup (self ):
7- self .app = wx .App ()
7+ # self.app = wx.App()
88 self .BulkInsert = BulkInsert (None )
99 path = os .path .dirname (os .path .dirname (os .path .realpath (__file__ )))
1010 self .CSVPath = os .path .join (path , 'example_files' , 'exampleBulkInsert.csv' )
You can’t perform that action at this time.
0 commit comments